问题
We are migrating an Application consisting of several ear files from Weblogic 11 to Weblogic 12. Three of the ear files are running well, when we deploy the 4th it throws a ClassNotFoundException on startup.
Two of the three running ears aren’t important in this regard. So, the situation is that A.ear runs fine, B.ear fails to start.
B.ears pom.xml refers to a module of A.ear as dependency with provided and ejb-client, and using maven-ear-plugin it refers to the module as ejbClientModule.
Due to the maven-ear-plugin, a jar is created in B.ear mirroring the module in A.ear, adding “-client” to its name, but it only contains a subset of classes from the module in A.ear.
One of this classes is derived from the class the ClassNotFoundException refers to.
The application worked this way on Weblogic 11.
Can somebody please tell me how to fix this problem and make the application work on Weblogic 12?
来源:https://stackoverflow.com/questions/59973540/migrating-from-weblogic-11-to-weblogic-12-getting-classnotfoundexception