java.lang.UnsupportedClassVersionError: Bad version number in .class file异常.
使用MyEclipse 6.5时发现Java Compiler —> Compiler compliance level是5.0。之前一直在使用5.0的级别进行编译运行。当我切换Compiler compliance level到6.0以后,重新编译项目,运行,抛出异常:
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at[......]