Wildfly12 Deployment Exception : org.springframework.web.context.request.async.StandardServletAsyncWebRequest
srinivasareddy.papana Feb 25, 2019 8:28 AMHello,
I am getting below error during application deployment, here is complete stacktrace. Can anyone please help me.
I have read that this is igorable, but actually this is causing application deployment exception due to which I am unable to deploy ear file.
WildFly : 12
Spring : 3.2.18
2019-02-25 04:46:40,471 DEBUG [org.jboss.as.ee] (MSC service thread 1-5) Configuring component class: org.springframework.web.context.request.async.StandardServletAsyncWebRequest named org.springframework.web.context.request.async.StandardServletAsyncWebRequest
2019-02-25 04:46:40,471 WARN [org.jboss.as.ee] (MSC service thread 1-5) WFLYEE0007: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to an exception (enable DEBUG log level to see the cause)
2019-02-25 04:46:40,471 DEBUG [org.jboss.as.ee] (MSC service thread 1-5) Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to an exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0048: Could not find default constructor for class org.springframework.web.context.request.async.StandardServletAsyncWebRequest
at org.jboss.as.ee.component.DefaultInterceptorConfigurator.configure(DefaultInterceptorConfigurator.java:92)
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:92)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:144)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1714)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1693)
at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1540)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1364)
at java.lang.Thread.run(Thread.java:745)
2019-02-25 04:46:40,471 DEBUG [org.jboss.as.ee] (MSC service thread 1-5) Configuring component class: org.apache.struts.tiles.taglib.GetTag named org.apache.struts.tiles.taglib.GetTag
2019-02-25 04:46:40,471 DEBUG [org.jboss.as.ee] (MSC service thread 1-5) Configuring component class: org.apache.struts.taglib.nested.logic.NestedNotMatchTag named org.apache.struts.taglib.nested.logic.NestedNotMatchTag
2019-02-25 04:47:05,352 INFO [Infinys] (ServerService Thread Pool -- 129) Registry version detected by CacheManager within the application PF.
2019-02-25 04:47:05,366 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 129) WFLYUT0021: Registered web context: '/pf-system' for server 'default-server'
2019-02-25 04:47:05,372 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 29) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "PF.ear")]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.subunit.\"PF.ear\".\"pf-weblauncher.war\".component.\"org.springframework.web.context.request.async.StandardServletAsyncWebRequest\".START",
"jboss.deployment.subunit.\"PF.ear\".\"pf-restservices.war\".component.\"org.springframework.web.context.request.async.StandardServletAsyncWebRequest\".START",
"jboss.deployment.subunit.\"PF.ear\".\"pf-system.war\".component.\"org.springframework.web.context.request.async.StandardServletAsyncWebRequest\".START",
"jboss.deployment.subunit.\"PF.ear\".\"PF.war\".component.\"org.springframework.web.context.request.async.StandardServletAsyncWebRequest\".START"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"PF.ear\".WeldEndInitService is missing [jboss.deployment.subunit.\"PF.ear\".\"pf-weblauncher.war\".component.\"org.springframework.web.context.request.async.StandardServletAsyncWebRequest\".START, jboss.deployment.subunit.\"PF.ear\".\"PF.war\".component.\"org.springframework.web.context.request.async.StandardServletAsyncWebRequest\".START, jboss.deployment.subunit.\"PF.ear\".\"pf-system.war\".component.\"org.springframework.web.context.request.async.StandardServletAsyncWebRequest\".START, jboss.deployment.subunit.\"PF.ear\".\"pf-restservices.war\".component.\"org.springframework.web.context.request.async.StandardServletAsyncWebRequest\".START]"]
}
2019-02-25 04:47:05,374 ERROR [org.jboss.as.server] (ServerService Thread Pool -- 29) WFLYSRV0021: Deploy of deployment "PF.ear" was rolled back with the following failure message:
{
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.subunit.\"PF.ear\".\"pf-weblauncher.war\".component.\"org.springframework.web.context.request.async.StandardServletAsyncWebRequest\".START",
"jboss.deployment.subunit.\"PF.ear\".\"pf-restservices.war\".component.\"org.springframework.web.context.request.async.StandardServletAsyncWebRequest\".START",
"jboss.deployment.subunit.\"PF.ear\".\"pf-system.war\".component.\"org.springframework.web.context.request.async.StandardServletAsyncWebRequest\".START",
"jboss.deployment.subunit.\"PF.ear\".\"PF.war\".component.\"\".START"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"PF.ear\".WeldEndInitService is missing [jboss.deployment.subunit.\"PF.ear\".\"pf-weblauncher.war\".component.\"org.springframework.web.context.request.async.StandardServletAsyncWebRequest\".START, jboss.deployment.subunit.\"PF.ear\".\"PF.war\".component.\"org.springframework.web.context.request.async.StandardServletAsyncWebRequest\".START, jboss.deployment.subunit.\"PF.ear\".\"pf-system.war\".component.\"org.springframework.web.context.request.async.StandardServletAsyncWebRequest\".START, jboss.deployment.subunit.\"PF.ear\".\"pf-restservices.war\".component.\"org.springframework.web.context.request.async.StandardServletAsyncWebRequest\".START]"]
}
2019-02-25 04:47:05,427 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 110) WFLYUT0022: Unregistered web context: '/pf-securityClientLauncher' from server 'default-server'
2019-02-25 04:47:05,429 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 129) WFLYUT0022: Unregistered web context: '/pf-weblauncher' from server 'default-server'
2019-02-25 04:47:05,430 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 140) WFLYUT0022: Unregistered web context: '/PF' from server 'default-server'