How did “people you might know” find you on social software>>>
Problem Description:
java.lang.UnsupportedClassVersionError: Bad version number in .class file
reason:
Because the compiled and run versions are different, for example, the JDK version of eclipse compiler is 1.6, while the JDK version of Tomcat is 1.5
just set the JDK versions of eclipse compiler and Tomcat to be consistent
Similar Posts:
- java.lang.UnsupportedClassVersionError: Bad version number in .class file
- Internal error (java.lang.UnsupportedClassVersionError): has been compiled by a more recent version of the Java Runtime (class file version 55.0)
- [How to Solve] Hive: Unsupported major.minor version 51.0
- [Java. Lang. unsupported classversionerror] version inconsistency error
- JAVA Command Error: A JNI error has occurred, please check your installation and try again [Solved]
- Solve the problem of “failed to load the JNI shared library” when eclipse starts
- The problem of JUnit test report class not found in maven
- [java development series] – Tomcat compilation error
- Could not find the main class Program will exit [How to Solve]
- Tomcat Warning: HTTP Status 500 – Internal Server Error