Вопрос

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