[jboss-user] [EJB/JBoss] - dependence of libraries - the wide scope of EAR
betounisul
do-not-reply at jboss.com
Sat May 23 10:14:25 EDT 2009
I am defining the scope of the EAR level. So have the JAR used by all modules in the folder / lib of the EAR, and WAR's WEB-INF/lib folder in the JAR for this specific module.
The problem is that when you start JBoss java.lang.NoClassDefFound the error occurs.
I have several different configurations and tests and also noticed that .xml or .properties files that are in the JARs folder / lib of the EAR are not seen by the WAR module.
The structure of the EAR is configured as follows
- myapp.ear
| - / Lib (default jar)
| - myapp.war
| --WEB-INF/lib (Specific jars of WAR)
| - myejb-ejb.jar
| META-INF / (configured xml)
How solve this problem.
Thank you.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232873#4232873
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232873
More information about the jboss-user
mailing list