After installing ear file through wsadmin script getting below error when starting server. i checked within the ear file the same class present in one of the jar.

com.ibm.ws.exception.RuntimeWarning: java.lang.NoClassDefFoundError:

Please suggest any solution for this issue.

有帮助吗?

解决方案

There was a classpath issue. Actually i am using Maven for building the EAR. Maven has overwirte my classpath and i removed the same. Also removed maven generated maven folder inside META-INF folder of jar/ejb. addMavenDescriptor>false /addMavenDescriptor>

Thanks bkail.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top