Question

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.

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top