This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Client JSP can't find EJB package on compile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Client JSP can Watch "Client JSP can New topic
Author

Client JSP can't find EJB package on compile

Hugh Harrison
Greenhorn

Joined: Mar 01, 2010
Posts: 3
I have developed and deployed an EJBModule in Eclipse (a simple Stateless session bean). I have created, in a separate project, a client JSP to "use" the bean. It must import the EJB package containing the EJB classes since it must instantiate the Home and Remote interfaces. I have added the EJBmodule to the JAVA Build PATH. The problem is that the JSP compiler cannot find the EJB package.

Thanks for any suggestions
Hugh Harrison
Greenhorn

Joined: Mar 01, 2010
Posts: 3
Cancel this. I put the EJB classes in the Web-INF folder in the client project and it worked.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client JSP can't find EJB package on compile