首页上一页 1 下一页尾页 1 条记录 1/1页
《JSP网络开发实例自学手册》第六章 人力资源管理系统 问题
发表在JavaWeb图书答疑
2009-05-17
是否精华
是
否
版块置顶:
是
否
我完全按照要求的方式进行的安装 SQL 2000也是SP4的 数据库可以正确连接
Tomcat也是正确配置的 而且所需要的JAR包也放在目录里边了
现在的问题是这样的
可以看到登陆界面 但是输入完账号和密码以后。就出现如下内容
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
com.bOS.bPRO_PersonManage.service.UsersDao.logonUsers(UsersDao.java:86)
com.bOS.bPRO_PersonManage.action.UsersAction.logon(UsersAction.java:100)
com.bOS.bPRO_PersonManage.action.UsersAction.execute(UsersAction.java:30)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.10 logs.
请问这个问题是怎么回事
我在网站查找是因为不能强制转换。请问我需要怎么才能正确运行?
Tomcat也是正确配置的 而且所需要的JAR包也放在目录里边了
现在的问题是这样的
可以看到登陆界面 但是输入完账号和密码以后。就出现如下内容
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
com.bOS.bPRO_PersonManage.service.UsersDao.logonUsers(UsersDao.java:86)
com.bOS.bPRO_PersonManage.action.UsersAction.logon(UsersAction.java:100)
com.bOS.bPRO_PersonManage.action.UsersAction.execute(UsersAction.java:30)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.10 logs.
请问这个问题是怎么回事
我在网站查找是因为不能强制转换。请问我需要怎么才能正确运行?