This content has been marked as final.
Show 2 replies
-
1. Re: EAP6.4.0 EAR lib cannot resolve dependency on WAR lib, works in WAS 7
jaikiran Feb 2, 2016 11:32 PM (in response to suparna1)Looking at that deployment packaging and the exception stacktrace - I'm guessing that the jar in your .ear/lib/ folder is requiring a jar from the .ear/.war/WEB-INF/lib folder. The spec doesn't allow the .war classloader resources to be accessible outside of it. So you will have to move the dependent jars into the .ear/lib folder.
-
2. Re: EAP6.4.0 EAR lib cannot resolve dependency on WAR lib, works in WAS 7
suparna1 Feb 3, 2016 2:42 AM (in response to jaikiran)Hey Jaikiran,
That's exactly what I did to make it work. Wondering if there's a way in Jboss to enable the .war classloader resources to be accessible to the EAR class loader.
Thanks!