org.apache.jasper.JasperException:
来源:互联网 发布:人工智能ppt素材 编辑:程序博客网 时间:2024/04/28 18:20
org.apache.jasper.JasperException:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: For input string: "huizhong"org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:359)org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:306)org.apache.jasper.runtime.JspRuntimeLibrary.introspect(JspRuntimeLibrary.java:284)org.apache.jsp.jobseeker.regDo_jsp._jspService(regDo_jsp.java:58)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)javax.servlet.http.HttpServlet.service(HttpServlet.java:802)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
org.apache.jasper.JasperException: For input string: "huizhong"org.apache.jasper.runtime.JspRuntimeLibrary.convert(JspRuntimeLibrary.java:271)org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:353)org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:306)org.apache.jasper.runtime.JspRuntimeLibrary.introspect(JspRuntimeLibrary.java:284)org.apache.jsp.jobseeker.regDo_jsp._jspService(regDo_jsp.java:58)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)javax.servlet.http.HttpServlet.service(HttpServlet.java:802)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NumberFormatException: For input string: "huizhong"java.lang.NumberFormatException.forInputString(Unknown Source)java.lang.Integer.parseInt(Unknown Source)java.lang.Integer.<init>(Unknown Source)org.apache.jasper.runtime.JspRuntimeLibrary.convert(JspRuntimeLibrary.java:253)org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:353)org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:306)org.apache.jasper.runtime.JspRuntimeLibrary.introspect(JspRuntimeLibrary.java:284)org.apache.jsp.jobseeker.regDo_jsp._jspService(regDo_jsp.java:58)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)javax.servlet.http.HttpServlet.service(HttpServlet.java:802)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
Apache Tomcat/5.0.28
解决方法
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
- org.apache.jasper.JasperException
- org.apache.jasper.JasperException:
- org.apache.jasper.JasperException
- org.apache.jasper.JasperException
- org.apache.jasper.JasperException
- org.apache.jasper.JasperException
- 求助:org.apache.jasper.JasperException
- 异常:org.apache.jasper.JasperException
- Jsp org.apache.jasper.JasperException
- org.apache.jasper.JasperException错误
- Tomcat: org.apache.jasper.JasperException
- org.apache.jasper.JasperException异常的原因
- jstl org.apache.jasper.JasperException 解决办法
- JSP中org.apache.jasper.JasperException
- 关于JSP中org.apache.jasper.JasperException:
- org.apache.jasper.JasperException: Unsupported encoding:
- org.apache.jasper.JasperException jstl错误
- [导入]创建高度动态变化的Iframe
- 辛勤耕耘一年,终于成为CSDN专家作者
- 两个时间相减的函数
- 原创玄幻小说--那时花开--第一章前序
- Vcastr1.0——FLV player
- org.apache.jasper.JasperException:
- long long data type in GCC and what's the meaning of 1LL
- 基本的命令查找文本中某个词的出现次数
- 原创玄幻小说--那时花开--第二章圣水湖
- js实现页面跳转的几种方式
- 如何做一位合格的需求人员
- 原创玄幻小说--那时花开--第三章紫檀林
- .net之旅-树型结构及相关功能的实现(41)
- 内存句柄与指针的区别