(十万火急)The server encountered an internal error () that prevented
来源:百度知道 编辑:UC知道 时间:2024/05/23 13:45:29
我在用mvc架构编程,servlet读取jsp传来的数据后,在servlet里写入数据库,但是servlet出错了,错误信息如下:
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.ClassCastException: org.hibernate.transaction.JDBCTransaction
ser.myservlet.doGet(myservlet.java:96)
ser.myservlet.doPost(myservlet.java:154)
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.13 logs.
--------------------------------------------------------------------------------
Apache Tomcat/6.0.13
大家赶快恢复,今晚11:00之前回复我,因为今晚要做出程序来,十万火急。回答的对的,可以再加50分。谢谢!
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.ClassCastException: org.hibernate.transaction.JDBCTransaction
ser.myservlet.doGet(myservlet.java:96)
ser.myservlet.doPost(myservlet.java:154)
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.13 logs.
--------------------------------------------------------------------------------
Apache Tomcat/6.0.13
大家赶快恢复,今晚11:00之前回复我,因为今晚要做出程序来,十万火急。回答的对的,可以再加50分。谢谢!
java.lang.ClassCastException是类或者类型转换错误吧
org.hibernate.transaction.JDBCTransaction 说明是hibernate与JDBC转换出问题了,你看看你的DAO层。
如果没有错,你换个Tomcat试试
in competition ,individuals and vision serve the common good
Compare the tombs of King Tut and Qin Shi Huang. What purpose so they serve?
谁能告诉我一篇作文题目叫should women serve in the front-line?
ewido 手动更新时总是显示“sorry.the server is not ready to serve.Please try again later.”
avg 不能升级,提示:sorry,the server is not ready to serve.please try again later.,谢谢!!
什么是 sql serve什么是 sql serve什么是 sql serve
serve是什么意思?basic呢?
Windows 2000 Serve多少钱?
serve 的用法
serve as是什么意思?