我正在按照教程HERE来部署基本应用。当我在Eclipse上部署时,它表示Deployment已成功完成,但在浏览器上显示:
错误:服务器错误 服务器遇到错误,无法完成您的请求。 请在30秒后再试一次。
我在另一台计算机上使用了相同的链接,它是一样的。
我有java 7& Windows 7上的JRE 1.7
错误详情:
javax.jdo.JDOUserException: Persistent class "Class main.Shout does not seem
to have been enhanced. You may want to rerun the enhancer and check for
errors in the output." has no table in the database, but the operation
requires it. Please check the specification of the MetaData for this
class.
at
org.datanucleus.api.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException
(NucleusJDOHelper.java:519)
at org.datanucleus.api.jdo.JDOQuery.execute (JDOQuery.java:230)
at org.apache.jsp.index_jsp._jspService (index_jsp.java:61)
at org.apache.jasper.runtime.HttpJspBase.service (HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle (ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:390)
at org.mortbay.jetty.security.SecurityHandler.handle
(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle (SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle (ContextHandler.java:765)