Article directory
error style
Exception in thread “main” java.lang.UnsupportedClassVersionError: net/army/boot/ProfileDemo01Application has been compiled by a more rece
nt version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Solution
Set the local java version to be the same as IDEA's java version to
set the local java environment variable
Note: After resetting the environment variables locally, you need to restart the IDEA program for the environment to take effect.
Re-execute the jar package (successfully)