https://docs.oracle.com/middleware/1212/wls/WLPRG/classloading.htm#WLPRG293
you can alter the weblogic-application.xml with this
however it's recommended to either put your shared classes in APP-INF/lib, or remove circular dependencies if any
you can alter the weblogic-application.xml with this
<classloader-structure>
<module-ref>
<module-uri>ejb1.jar</module-uri>
</module-ref>
<module-ref>
<module-uri>web1.war</module-uri>
</module-ref>
</classloader-structure>
however it's recommended to either put your shared classes in APP-INF/lib, or remove circular dependencies if any