[jboss-user] [Beginners Corner] - Re: Unable to compile class for JSP

Wolfgang Knauf do-not-reply at jboss.com
Tue Jun 9 09:43:07 EDT 2009


Hi Jim,

it seems your app is not bundled according to the JavaEE spec.

It should be (taken your sample):
Shop.ear
  | |---META-INF\application.xml  (this file is not required)
  | |---Shop.jar
  |      |--META-INF\manifest.mf
  |      |--META-INF\ejb-jar.xml (optional)
  |      |--EJB classes and interfaces
  | |---Shop.war
  |      |--META-INF\manifest.mf
  |      |--WEB-INF\web.xml
  |      |--WEB-INF\lib\yourlibraries.jar
  |      |--WEB-INF\classes\....
  |      |--web\some.jsp
The "Shop.war" must not contain any classes which are already contained in "Shop.jar".
Seems the classes in your WAR are in the wrong location.

Hope this helps

Wolfgang

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236387#4236387

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236387



More information about the jboss-user mailing list