On bad version number in. Class file

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: