[jboss-user] [Beginners Corner] - Unable to compile class for JSP
do-not-reply at jboss.com
Mon Jun 8 13:52:08 EDT 2009
I've the followinp problem.
I'm using annotation attributes and no ejb-jar.xml
General things: in the ear there is available
In Shop.jar all entities and sessions beans are available.
and a directory calles web
In this subdirectory "web" the index.jsp file is available as well as the helper classes of objects which are create in the jsp, e.g. the class "Basket"
With JBOSS 4.2.2.GA as well as JBOSS 4.2.3.GA everything worked well, i.e. the deploying as well as the calling of the index.jsp
But with JBOSS 5.1.0.GA after having deployed the EAR file and calling the according jsp, I get error messages like:
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 74 in the jsp file: /web/index.jsp
Login cannot be resolved to a type
72: wsr = (WebShopRemote)
74: Basket basket = new Basket();
75: basket.getPage(request, out, session, response, wsr);
Does somebody has an idea what might be the problem? Or does somebody has a small EJB example in connnection with a war file and a jsp?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236146#4236146
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236146
More information about the jboss-user