|
我在 gentoo 上安装了一个 erp 服务。软件是:
tomcat-5.5.23
mysql-5.0.38
sun-jdk-1.5.0.11
以管理员身份登录被接受。可以进入下一个页面。页面下方有对 admin 的问候。各主要功能模块的图标也在。点击图标也有相应,但没有任何文字信息。把图形用鼠标向下拉后,可以看到图形后面的出错信息如下:
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: Exception in JSP: /main/index_top1.jsp:395
392: StringTokenizer tokenTO = new StringTokenizer(rs.getString("value1"),"/");
393: while(tokenTO.hasMoreTokens()) {
394: table = tokenTO.nextToken();
395: tablenick = tokenTO.nextToken();
396: }
397: String tablename=table+"_allright";
398: String sql1="select * from "+tablename+" where human_ID='"+user_ID+"'";
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:467)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
include.anti_repeat_submit.SubmitFilter.doFilter(SubmitFilter.java:105)
root cause
java.util.NoSuchElementException
java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
org.apache.jsp.main.index_005ftop1_jsp._jspService(index_005ftop1_jsp.java:482)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
include.anti_repeat_submit.SubmitFilter.doFilter(SubmitFilter.java:105)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
那位愿意帮忙?先谢谢了! |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|