How to set the orders of jars in Weblogic EAR?
I have an EAR file that contains two different jars that share some classes with an identical package+class name. This results in importance of classloading inside the EAR file itself. How can I tell Weblogic to load one jar from APP-INF/lib before loading a different one in the same APP-INF/lib? I need to define a specific order to that if there is a conflict, it will take from JAR a and not JAR b. I'm using Webogic 11g (10.3). Thanks. The top-level element in weblogic-application.xml has an optional classloader-structure element that you probably want to look into. For instance you can do