posted 16 years ago
Hello all,
Could you please help me out with this? I have an application deployed in Weblogic 9.2.
Initially if i deploy the application as an ear with a single jar and single war within the ear, everything works fine. But if i split the same jar file into multiple jars, and place them all within the ear file, at run time, webloic fails to find any of the files and throws a java.lang.NoClassDefFoundError exception.(The beans are however being deployed correctly.)
I added the entries in the manifest file of the application ear that did not help.
I also added the files in the WEB-INF/lib folder and tried, but that too failed.
Now if i specifically add the same jars in the class path they work fine but this is not an acceptable solution.
The reason i want multiple jars is because i want to differentiate between the framework related files and business related files. Both the Framework related codes as well as the business related code have beans within them, so they need to be deployed in the container.
Can anyone throw some light on this issue? You help is appreciated.
Shekar