从servlet / jsp中找不到EJB类

时间:2013-11-13 14:00:08

标签: class ejb war

部署时,在Web归档中的Servlet/JSP找不到EJB类,即使它们位于同一个应用程序中。

但是当我使用javac编译时,编译器会找到bean类。应用程序和Web归档中的搜索路径包含bean类的路径。

J2EE 验证工具显示以下测试失败:

WebApp  tests.web.AllJSPsMustBeCompilable   FAILED
WebApp  tests.web.WebArchiveClassesLoadable FAILED
(Error message: Assertion:All classes in this Web Archive are loadable. Please refer to J2EE 1.4 Specification Section #8.1.2 for further information.
For [ toptipsternew/WebApp.war ]
classes [ beans.TipListHome beans.TipList ] referenced by [ web.MakeTip] are not found
Please either bundle the above mentioned classes in the application or use optional packaging support for them.)

0 个答案:

没有答案