org.apache.jasper.JasperException
2006-06-28 15:28
267 查看
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
If using an alternate Java compiler, please check its installation and access path.
这个异常一般是
1- jsp文件编写错误,里面可能包含错误的代码。
2 - 是你的jdk没有配置好。环境变量或路径设置不对。
还有,用浏览器打开:http://localhost:8080
如果出现提示成功画面,那说明八成是JSP文件有问题。
一般要把jsp文件放在ROOT目录下才可以正常运行。
org.apache.jasper.JasperException: Unable to compile class for JSP
No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
If using an alternate Java compiler, please check its installation and access path.
这个异常一般是
1- jsp文件编写错误,里面可能包含错误的代码。
2 - 是你的jdk没有配置好。环境变量或路径设置不对。
还有,用浏览器打开:http://localhost:8080
如果出现提示成功画面,那说明八成是JSP文件有问题。
一般要把jsp文件放在ROOT目录下才可以正常运行。
相关文章推荐
- jsp异常:org.apache.jasper.JasperException: java.lang.ClassCastException三种解决方法
- Nutch报错:org.apache.jasper.JasperException及解决办法
- Tomcat7.0.67 登陆首页出现HTTP Status 500 - java.lang.ClassCastException: org.apache.jasper.el.ELContextImp
- org.apache.jasper.JasperException:An exception occurred processing JSPpage/control/RuZhuControl.jsp
- org.apache.jasper.JasperException: jsp:getProperty for bean with name 'data'. N
- org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.CookieTei错误解决方法。
- 异常:org.apache.jasper.JasperException
- org.apache.jasper.JasperException: Unable to compile class for JSP
- org.apache.jasper.JasperException: tag 'select', field 'list', name 'parent.id':
- org.apache.jasper.JasperException
- tomcat6.0发布项目打开jsp页面报错:HTTP Status 500 - org.apache.jasper.JasperException: The absolute uri: http:/
- EJB3.0零碎要点---在部署web本地客户端的时候org.apache.jasper.JasperException: java.lang.ClassCastException: $Proxy
- 讨人厌的org.apache.jasper.JasperException: /index.jsp(14,2) The s:form tag declares that it accepts dyn
- org.apache.jasper.JasperException: java.lang.IllegalArgumentException: Attribute type="password" is
- [必需更多语法分析时,到达内容结束:标记嵌套错误?]:org.apache.jasper.compiler.ParseException: 异常解决方案
- 关于tomcat7 java.lang.ClassCastException: org.apache.jasper.el.ELContextImpl的错误
- org.apache.jasper.JasperException: Unable to compile class for JSP 解决方法
- org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not ju
- org.apache.jasper.JasperException Unterminated [<c:forEach] tag 错误的解决办法
- org.apache.jasper.JasperException: Unable to compile class for JSP: