1

您好,我正在做一个项目,每当我尝试运行时,我都会收到此错误消息,但我仍然无法弄清楚该错误。谢谢你的帮助。

HTTP Status 500 -

type Exception report

message

descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: The HTTP Monitor server side component intercepted and rethrew an error while processing a JSP or servlet. Please see the stack trace under the root cause message below to identify the problem.

root cause

java.lang.NoClassDefFoundError: JavaBeans/Book

root cause

java.lang.ClassNotFoundException: JavaBeans.Book

note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.2.2 logs.
4

1 回答 1

0

您很可能已将类命名为

带有 Glassfish 3 的 Java EE 6
书。请注意如何命名路径。编译器找不到Book该类。

于 2012-12-06T17:03:13.163 回答