首页上一页 1 下一页尾页 3 条记录 1/1页
java web 开发实战宝典---25章的问题
发表在JavaWeb图书答疑
2010-03-18
是否精华
是
否
版块置顶:
是
否
首先要感谢这本书的作者,《java web 开发实战宝典》真的是一书非常棒的java web书籍。
让我对明日图书多了几分敬意!
关于第25章,导入myeclipse 6.5后,出现第一个界面,输入用户名: admin 密码:admin 之后,
出现错误如下错误! 请帮忙解决,先谢谢啦!!!
======================
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: org.hibernate.TransactionException: Transaction not successfully started
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.lyq.util.HibernateFilter.doFilter(HibernateFilter.java:36)
com.lyq.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:35)
root cause
org.hibernate.TransactionException: Transaction not successfully started
org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:149)
com.lyq.dao.UserDao.login(UserDao.java:39)
com.lyq.struts.action.LoginAction.execute(LoginAction.java:32)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.lyq.util.HibernateFilter.doFilter(HibernateFilter.java:36)
com.lyq.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:35)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 l
让我对明日图书多了几分敬意!
关于第25章,导入myeclipse 6.5后,出现第一个界面,输入用户名: admin 密码:admin 之后,
出现错误如下错误! 请帮忙解决,先谢谢啦!!!
======================
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: org.hibernate.TransactionException: Transaction not successfully started
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.lyq.util.HibernateFilter.doFilter(HibernateFilter.java:36)
com.lyq.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:35)
root cause
org.hibernate.TransactionException: Transaction not successfully started
org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:149)
com.lyq.dao.UserDao.login(UserDao.java:39)
com.lyq.struts.action.LoginAction.execute(LoginAction.java:32)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.lyq.util.HibernateFilter.doFilter(HibernateFilter.java:36)
com.lyq.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:35)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 l