Frage

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.

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top