HAPPYHACKING/ERROR SOLVED
[해결] this version of the Java Runtime only recognizes class file versions up to 52.0
SPSP
2022. 7. 28. 01:16
에러 내용:
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/spring/boot/micro/SpringBootMicroServiceApplication has been compiled by a more recent version of the Java Runtime (class file version 58.0), this version of the Java Runtime only recognizes class file versions up to 52.0
원인 :
JRE 버전 안맞아서 그럼
해결 :
JRE 버전 맞춰줌
Remove JavaSE 1.8
Click ClassPath and Add Library
JRE System Library -> 'Environment..' -> JavaSE-11 -> Apply and Close
728x90