开发者

Gradle - ear file with war file

开发者 https://www.devze.com 2023-03-25 01:36 出处:网络
It works with ear file we build with Maven. Using Gradle, I have an EAR (MyEnterpriseApp) file with a WAR (Myweb) and set of jar files in the root folder. When we deploy it is fine no problem. When th

It works with ear file we build with Maven. Using Gradle, I have an EAR (MyEnterpriseApp) file with a WAR (Myweb) and set of jar files in the root folder. When we deploy it is fine no problem. When the applicatin starts it throws a compound cl开发者_开发技巧ass loader for a class (com.test.mypackage.MyClass) that is available in the one of the jars. We are using Websphere 6.1 on windows.

Any suggestions.


I figured it out my self, using deploy and earlib together will cause this problem. Now I am using only deploy with runtime dependencies in war gradle file. For now it solved the problem. If any of you have better idea than this, always welcome.

0

精彩评论

暂无评论...
验证码 换一张
取 消