Bad version number in .class file
来源:互联网 发布:acdsee mac pro注册码 编辑:程序博客网 时间:2024/06/13 01:52
java.lang.UnsupportedClassVersionError: Bad version number in .class file
1、你所用的代码的jdk与目前的编译环境的jdk不一样,在当前工程上点右键选择"属性",进去后在Java build path进去修改即可。
2、进到当前工程的属性后,选择"Java Compiler"进去后将"Compiler Compliance level"改成当前jdk的版本
3、windows->preferences->MyEclipse Enterprise Workbench->Servers->Tomcat->选择一人版本的tomcat->JDK->修改成当前使用的JDK版本即可。
将以上三步都修改好后,一开始所提的错误就没有了,如果有的时候不改第三个,这个错误会一直存在。
- Bad version number in .class file(zz)
- 遭遇Bad version number in .class file
- Bad version number in .class file问题
- Bad version number in .class file
- Bad version number in .class file错误
- bad version number in .class file异常
- Bad version number in .class file
- Bad version number in .class file
- Bad version number in .class file
- unsupportedclassversionerror bad version number in .class file
- Bad version number in .class file
- Bad version number in .class file异常
- eclipse: Bad version number in .class file
- Bad version number in .class file
- Bad version number in .class file
- Bad version number in .class file
- Bad version number in .class file
- Bad version number in .class file
- 启动MixerThread
- Git版本控制使用方法入门教程
- AIX上安装 gcc
- YII框架分析笔记4:ar模型和db
- java 读取文件方法大全
- Bad version number in .class file
- struts2 和普通html form的路径问题!
- 自己根据网上的js小游戏改编的(看谁能坚持的时间最长)
- Linux下使用SSH客户端及其Sftp文件传送
- oracle存储过程中使用临时表
- 心态和想法,是提高编程水平的关键
- delphi下调用外部程序,并知道其何时退出
- SQL 区分DQL、DML、DDL、DCL
- 读取xml文件到内存中