Migrating from Weblogic 11 to Weblogic 12, getting ClassNotFoundException

夙愿已清 提交于 2020-05-30 08:11:48

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!