I have a strange issue when deploying a .war file on Weblogic 12c server. After uploading the file and activating changes, the deploy hangs, times out and the error below is displayed on the app server logs:
Caused By: java.lang.ClassNotFoundException: com.lib.package.name.ExceptionListener
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
This dependency containing this class is located on WEB-INF/lib and is present on the war file Manifest Class-path.
I can also check that some other classes from the same jar file are loaded successfully:
[Loaded com.lib.package.name.ExceptionChain from file:/[....path....]/domains/my_domain/servers/my_server_1/tmp/_WL_user/My-ejb3-xxxx/806o73/war/WEB-INF/lib/myJar.jar]
I've been doing some work unpacking, editing the manifest and weblogic.xml, trying different configurations but this error is returned every time. I suspected on another lib that has a package with the same name (but not a class with the same name), even tried to combine both jar libs on a single jar but ended on the same result.
I'm using Ant scripts to package the war file.
Can anyone help me on how to proceed, find the cause or debug this?
Thanks