当前位置: 代码迷 >> J2EE >> 火烧屁股了 快来看看吧解决方法
  详细解决方案

火烧屁股了 快来看看吧解决方法

热度:110   发布时间:2016-04-22 01:47:20.0
火烧屁股了 快来看看吧
我的程序在tomcat6.0.18解压版下能正常运行 但是在安装版的tomcat就会有的页面报错 怎么办



  错误信息
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 9 in the generated java file
Only a type can be imported. javax.faces.convert.Converter resolves to a package

------解决方案--------------------
不加入项目启动看下会不会?
看提示,好像是jsp import语句有错
------解决方案--------------------
配置 JAVA_HOME了没有
------解决方案--------------------
探讨

编译过的java程序在tomcat免安装下能运行 在安装下不能运行.
是否给这个页面传入空值勒?

把webapp下的项目直接co到安装下,你是指这样做,不能运行么?

------解决方案--------------------
小问题,我也遇到过,
1,选择工程,右键选择debug as 在弹出窗口中选择debug
2,在弹出窗口中选择classpath
3,在右侧选择add extermal jars
4,找到jdk中的tool.jar ,导入进来,
5,重启就ok了

代码迷推荐解决方案:org.apache.jasper.JasperException: Unable to compile class,http://www.daimami.com/search?q=2308
  相关解决方案