I'm facing a very weird scenario where a particular java file within my project is somehow not being seen
by wildfly when deploying.
This is the actual error
2017-02-21 15:30:25,069 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit.obby.POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit.obby.POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "obby"
The following is the the causing problem
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.ClassNotFoundException: bd.domain.repository.VehicleEAO from [Module \"deployment.obby:main\" from Service Module Loader]
That particular class bd.domain.repository.VehicleEAO
is in a package within my web project. The deployment works fine in the local wildly on my machine but when i'm doing remote deployment to another machine within my office network i get this error. I have clean and rebuilt the project several times to no avail. What could possibly be the issue? both machines are running the same Java version 1.8.0_121
, same wildfly 9.0.2.Final
version using same wildfly-maven-plugin 1.0.2.Final