首页上一页 1 下一页尾页 1 条记录 1/1页
《jsp数据库系统开发案例精选》中人力资源如何配置
发表在JavaWeb图书答疑
2009-09-01
是否精华
是
否
版块置顶:
是
否
按照配置说明书,运行,出现以下错误。同时我测试其他案例,比如新闻发布,物流管理等都可以正常运行。
javax.servlet.ServletException: Cannot open connection
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
com.bOS.Action.ActionServlet.process(ActionServlet.java:21)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
net.sf.hibernate.JDBCException: Cannot open connection
net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:281)
net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3264)
net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3244)
net.sf.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:40)
net.sf.hibernate.transaction.JDBCTransactionFactory.beginTransaction(JDBCTransactionFactory.java:19)
net.sf.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:2195)
com.bOS.bPRO_PersonManage.service.UsersDao.logonUsers(UsersDao.java:78)
com.bOS.bPRO_PersonManage.action.UsersAction.logon(UsersAction.java:111)
com.bOS.bPRO_PersonManage.action.UsersAction.execute(UsersAction.java:41)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
com.bOS.Action.ActionServlet.process(ActionServlet.java:21)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
javax.servlet.ServletException: Cannot open connection
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
com.bOS.Action.ActionServlet.process(ActionServlet.java:21)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
net.sf.hibernate.JDBCException: Cannot open connection
net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:281)
net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3264)
net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3244)
net.sf.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:40)
net.sf.hibernate.transaction.JDBCTransactionFactory.beginTransaction(JDBCTransactionFactory.java:19)
net.sf.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:2195)
com.bOS.bPRO_PersonManage.service.UsersDao.logonUsers(UsersDao.java:78)
com.bOS.bPRO_PersonManage.action.UsersAction.logon(UsersAction.java:111)
com.bOS.bPRO_PersonManage.action.UsersAction.execute(UsersAction.java:41)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
com.bOS.Action.ActionServlet.process(ActionServlet.java:21)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)