JDK不兼容异常(class file has wrong version 49.0, should be 48.0)的解决方法
来源:互联网 发布:电脑服务器端口怎么查 编辑:程序博客网 时间:2024/05/17 08:50
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
/usr/tomcat5/work/Catalina/www.neasiaexpo.org.cn/_/org/apache/jsp/sysadmin/event/addmore_005fproject_jsp.java:8: cannot access web.OperateExcel
bad class file: /bak/upload/neasiaexpo/WEB-INF/classes/web/OperateExcel.class
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appea
----------------------------------------------------------------
由于OperateExcel这个类是在JDK1.5的环境下编译的,把他放在JDK1.4环境的服务器下发生以上错误,只要将这个类重新在JDK1.4环境下编译就可以了
Eclipse中JDK不兼容异常(class file has wrong version 49.0, should be 48.0)的解决方法
在eclipse 里改变项目的属性设置:[project]->[properties]->[Java Compiler]->选中Enable project specific settings,在JDK Compliance->Compiler compliance level中选1.4(或其它你认为合适的),软件会自动提示需要重新编译,重新编译后运行就ok了。
Generated servlet error:
/usr/tomcat5/work/Catalina/www.neasiaexpo.org.cn/_/org/apache/jsp/sysadmin/event/addmore_005fproject_jsp.java:8: cannot access web.OperateExcel
bad class file: /bak/upload/neasiaexpo/WEB-INF/classes/web/OperateExcel.class
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appea
----------------------------------------------------------------
由于OperateExcel这个类是在JDK1.5的环境下编译的,把他放在JDK1.4环境的服务器下发生以上错误,只要将这个类重新在JDK1.4环境下编译就可以了
Eclipse中JDK不兼容异常(class file has wrong version 49.0, should be 48.0)的解决方法
在eclipse 里改变项目的属性设置:[project]->[properties]->[Java Compiler]->选中Enable project specific settings,在JDK Compliance->Compiler compliance level中选1.4(或其它你认为合适的),软件会自动提示需要重新编译,重新编译后运行就ok了。
- JDK不兼容异常(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)及解决方法
- 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)的解决方法
- 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 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 .
- 解决class file has wrong version 49.0, should be 48.0错误
- 新手解决class file has wrong version 49.0, should be 48.0
- build-error[class file has wrong version 50.0, should be 49.0]
- phpmyadmin提示错误Wrong permissions on configuration file, should not be world writable!解决方法
- Role分析模式:角色对象基本概念
- 关于“代数结构(algebraic structure)”的一些原创性的理解。
- 在MySQL数据库增加新用户权限简介
- 7,17,2007
- 一个帖子引爆流行?wappblog助阵
- JDK不兼容异常(class file has wrong version 49.0, should be 48.0)的解决方法
- 解析.Net框架下的XML编程技术
- 预订和使用可重用实体的分析模式
- 中国软件作者的路在哪里??
- mysql "Duplicate entry '127' for key 1"
- 1delphi
- 弱智的错误--表单提交了二次
- 30个优秀.net在线学习资源站点
- 什么是CSS hack及写法