Bad version number in .class file (unable to load class ...)解决办法:提高JDK版本,比如从JDK1.5提高到1.7.
PS:同时,注意统一版本:
(1)项目--右键built path--config built path --libraries--添加同JDK版本JAR包
(2)项目--右键built path--config built path--java compiler 编译器版本
(3)tomcat(服务器)的JDK版本
分享到:
相关推荐
在MyEclipse中运行一个小应用程序或者在编辑一些程序时,出现java.lang.UnsupportedClassVersionError Bad version number in .class file异常,的解决办法!
NULL 博文链接:https://happypigs.iteye.com/blog/675096
这两天遇到了一个问题,原来使用的是FB 4 Bata 2中没有遇到的问题,在FB 4中遇到了,就是在使用Data/Services...Bad version number in .class file 问题,现在知道怎样一回事了,希望能帮更多人解决这方面的困扰。
tomcat:bad version number in class file的解决方法
文档是作者根据自己的实际经验总结的解决方法,文档中详细介绍了面对这个问题的解决步骤,有需要的朋友可以放心尝试!
解决linux磁盘扩容出现Bad magic number in super-block while trying报错的问题
第一次运行JB2006开如J2ME时出现 ALERT: java/lang/ClassFormatError: Bad version information.错误 点“启动”就会出错 我现在找到了答案 请你们下去看
ALERT: java/lang/ClassFormatError: Bad version information. 大 | 中 | 小 Tags: j2me , jbuilder2006 JBuilder2006使用 JBuilder Wireless Toolkit 2.2 运行J2me程序,发生如下错误: ALERT: java/lang/...
如果不行再换其它的JDK。 二、如果运行时有以上提示,则选择"Project"菜单中的"Project Properties",在弹出的窗口中左侧选择“ Build-->Java”,在右边的选项中有四个下拉框,就可以看到编译选项了,其中...
number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at ...
问题描述: 在使用git 进行提交时, 出现上面这个报错, 导致无法提交. 报错大致意思就是创建index.lock文件失败,因为已经存在index.lock文件了. index.lock文件是在.git下面, 而.git是一般是隐藏的, 那么可以通过以下...
mysql默认是线程不安全的...[MDEV-9749] InnoDB receives 'Bad file descriptor' error, possibly related to feedback plugin Lost connection to MySQL server at 'handshake- reading initial communication packet'
badwords.inc.php
502 bad gateway怎么解决.docx
Barrett and Jason Kridner, a seasoned ECE educator along with the founder of Beagleboard.org, respectively, the work may be used in a wide variety of projects from science fair projects to university...
badusb代码daquan.zip
1.安装JDK1.6并配置环境变量 2.下载JBOSS,将下载的安装包直接解压到安装...注意:当我安装JDK1.5+JBOSSjboss-5.1.0.GA组合时,报版本冲突错误(Bad version number in .class file错误),我换成JDK1.6就不报错误了。
bad apple gif的OLED 屏幕显示,简单版,spi接口中景园改编 bmp图像采用逐列取模 ——刚学32的菜鸡研发一周的成果
我花了一整天来解决这个问题:( jdk 1.7.0_51 上的 UTC+3 不正确使用 bash 运行 scraper-1.0-SNAPSHOT.jar 时遇到 java.lang.UnsupportedClassVersionError: Bad version number in .class file。 在 Windows 上使用...
badboy安装包2.2.5.zip