myeclipse运行登录页面时,跳转时出错,请教大侠啊

[复制链接]
查看11 | 回复2 | 2011-4-11 20:52:46 | 显示全部楼层 |阅读模式
HTTP Status 500 -
exception
javax.servlet.ServletException: org.hibernate.exception.SQLGrammarException: could not load an entity: [com.leibin.studentdao.Studentinfo#20071346001]
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:641)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
以下省略。。。。。。。。。。
root cause
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'oet.studentinfo' doesn't exist
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
以下省略。。。。。。。。

回复

使用道具 举报

千问 | 2011-4-11 20:52:46 | 显示全部楼层
HQL语句贴出来看看
回复

使用道具 举报

千问 | 2011-4-11 20:52:46 | 显示全部楼层
org.hibernate.exception.SQLGrammarException: could not load an entity: [com.leibin.studentdao.Studentinfo#20071346001]说明sql语句语法异常,不能加载一个实体:Studentinfo数据库中没有这个oet.studentinfo表
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行