문제

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