JBoss EAP 6.3.0 Spring MVC deployment failure
jozsef.horvath Nov 3, 2014 5:27 AMGreetings,
I'm having some serious issues while deploying a Sping MVC (Maven) Web app to JBoss EAP 6.3 through eclipse luna (JBoss Tools (Luna). Until I don't use any frameworks deployment goes fine and I can access my webapps. In the moment I add a framework dependency I get the following deployment log:
EAP 6.3.0 Deployment log error |
---|
11:13:51,747 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015876: Starting deployment of "SampleWEB.war" (runtime-name: "SampleWEB.war") 11:13:52,254 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."SampleWEB.war".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.unit."SampleWEB.war".DEPENDENCIES: JBAS018733: Failed to process phase DEPENDENCIES of deployment "SampleWEB.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.8.0_11] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.8.0_11] at java.lang.Thread.run(Unknown Source) [rt.jar:1.8.0_11] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.NullPointerException at org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.deploy(JaxrsSpringProcessor.java:207) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19] ... 5 more Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.NullPointerException at org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.getResteasySpringVirtualFile(JaxrsSpringProcessor.java:137) at org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.deploy(JaxrsSpringProcessor.java:203) ... 6 more Caused by: java.lang.NullPointerException at org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.getResteasySpringVirtualFile(JaxrsSpringProcessor.java:106) ... 7 more
11:13:52,296 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment SampleWEB.war (runtime-name: SampleWEB.war) in 30ms 11:13:52,298 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report JBAS014777: Services which failed to start: service jboss.deployment.unit."SampleWEB.war".DEPENDENCIES service jboss.deployment.unit."SampleWEB.war".DEPENDENCIES |
I tried to search for this error but couldn't find anything related. I found solutions for the error code but they were completely different. Any idea what is going wrong in here? The same issue occurs with the most basic application created with maven. In the moment I add springframework (core, web, webmvc) and start using them, I get this error.