Hello, I am trying to write a web application that consists of JSPs/Servlets and EJBs. If I put the EJB jar and the war file into an ear and deploy that, the servlets can access the EJBs OK. But the JSP I'm working on right now gives me the following errors:
----
org.apache.jasper.JasperException: Unable to compile class for JSP
Found 3 semantic errors compiling
"/usr/share/work/localhost_8080%2Fjuergen/_0002fhome_0002fadmin_0002fnews_0002ejspnews_jsp_0.java":
17. import home.news.NewsItem;
<---------------->
*** Error: "home/news/NewsItem" is either a misplaced package name or
a non-existent entity.
74. NewsItem item = (NewsItem)(i.next());
<------>
*** Error: Type home/admin/NewsItem was not found.
----
A quick look at
_0002fhome_0002fadmin_0002fnews_0002ejspnews_jsp_0.java shows that it
is in the home.admin package. Just looks like jasper doesn't have the
EJB jar in its classpath. Is this inference correct? And more
importantly: what can I do about that?
Thanks in advance,
Juergen
msg12267/pgp00000.pgp
Description: PGP signature
