Maha Maha - 23 days ago 17
Java Question

WELD-000119: Not generating any bean definitions from because of underlying class loading error

I'm new in using MyEclipse and Java EE

I'm trying to deploy my web application on wildfly 8.0.0. in MyEclipse.

Unfortunately, I'm getting this error after I took some code changes from SVN (I'm not sure this is the reason), before that it was working fine:

[org.jboss.weld.Bootstrap] (weld-worker-2) WELD-000119: Not generating any bean definitions from (.....) because of underlying class loading error: Type WebArchive from [Module "deployment.Test.war:main" from Service Module Loader] not found. If this is unexpected, enable DEBUG logging to see the full error.


When I (Run) the server, the deployment succeeded although the console produces some lines of the same error, but when i (Debug) the server, it keeps generating the same error.

Can someone help me please

Thanks.

Answer

The problem was because I'm starting my server in debug mode and the breakpoints were activated