[jboss-user] [Beginners Corner] - Re: Urgent => java.lang.NoClassDefFoundError : jboss Startup

Wolfgang Knauf do-not-reply at jboss.com
Tue Mar 10 09:58:23 EDT 2009


Hi,

in this case, your WAR has to contain the classes of the DAOs and of the EJB interfaces. Creating a so called "client JAR" file with those classes and placing it in WEB-INF\lib is the easiest approach.

But the even easier way is to bundle JAR and WAR in an EAR file, as they seem to deployed to the same server. This way, adding the EJB jar to the "Classpath" attribute in Manifest.mf will solve all your problems ;-).

Hope this helps

Wolfgang

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

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



More information about the jboss-user mailing list