So I am deploying a war. Off the root of the war I have a path say
myApp.war\somedir\ inside that directory resides a jar file. Inside that jar file is a lib directory, so we would have myApp.war\somedir\myJar.jar\lib\otherJar.jar.
The classes inside the otherJar.jar are not being loaded, so the classes inside the myJar.jar are throwing NoClassDefFoundErrors for classes that are in the otherJar.jar
Are these classes supposed to be loaded? If so, why would I get these errors. It works in AS 4.x but not in AS 5 Beta 2.
Please ignore this thread.
It is not an AS5 issue.
As the classes inside the myJar.jar needs to be loaded by our own ClassLoader and not the war's or the AS's ClassLoaders.