解决 class file has wrong version 49.0, should be 48.0 的方法
来源:互联网 发布:mt4编程手册中文 编辑:程序博客网 时间:2024/05/19 17:58
有些时候,我们会遇到版本不匹配的问题。如: bad class file: /usr/java/jdk1.5.0_06/jre/lib/rt.jar(java/lang/Object.class)class file has wrong version 49.0, should be 48.0Please remove or make sure it appears in the correct subdirectory of the classpath.这是因为编译环境和运行环境的不一致造成的,比如tomcat5.5和jdk1.5配合的时候,可能就会出现。解决这个问题的方法:copy jdk1.5的lib/tools.jar到tomcat5.5的common/lib/tools.jar,覆盖掉原有文件就可以了。
很有用,转载一下~~~
- 解决 class file has wrong version 49.0, should be 48.0 的方法
- 解决 class file has wrong version 49.0, should be 48.0 的方法
- class file has wrong version 49.0,should be 48.0
- class file has wrong version 49.0, should be 48.0
- 解决class file has wrong version 49.0, should be 48.0错误
- 新手解决class file has wrong version 49.0, should be 48.0
- JDK不兼容异常(class file has wrong version 49.0, should be 48.0)的解决方法
- JDK不兼容异常(class file has wrong version 49.0, should be 48.0)的解决方法!
- Class file has wrong version 50.0, should be 49.0
- class file has wrong version 50.0, should be 49.0
- class file has wrong version 50.0, should be 49.0
- class file has wrong version 49.0, should be 48.0 问题以及Unsupported major.minor version 49.0
- class file has wrong version 49.0, should be 48.0 问题以及Unsupported major.minor version 49.0 .
- JDK不兼容异常(class file has wrong version 49.0, should be 48.0)及解决方法
- JDK不兼容异常(class file has wrong version 49.0, should be 48.0)及解决方法
- Eclipse中JDK不兼容异常(class file has wrong version 49.0, should be 48.0)的解决方法
- build-error[class file has wrong version 50.0, should be 49.0]
- 解决Wrong permissions on configuration file, should not be world writable
- The first onw
- vs.net 2008 开发php
- JAVA基础入门:如何使用Java编写NT服务
- apache xerces c++ windows 下编译与vc6实例收藏
- WSAAsyncSelect
- 解决 class file has wrong version 49.0, should be 48.0 的方法
- 项目管理无处不在
- Oracle数据库基础知识
- struts标签--bean:define
- Ssh配置步骤
- win2k/xp 时区世界地图中 将波兰画成海
- 使用Enhydra JaWE(V2.3.1)感受(一)-改造为JApplet调用方式
- 取出特定年月日的星期
- 正值表达式使用指南