你好我正在研究一个项目,任何时候我尝试运行我都有这个错误信息,我仍然有问题找出错误。谢谢你的帮助。
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.
答案 0 :(得分:0)
您很可能将您的类命名为
Java EE 6 With Glassfish 3一书中的类。小心你如何命名你的路径。编译器找不到
Book
类。