首页 > 编程语言> > java – JBAS011006由于异常而未安装可选组件StandardServletAsyncWebRequest DeploymentUnitProcessingException
java – JBAS011006由于异常而未安装可选组件StandardServletAsyncWebRequest DeploymentUnitProcessingException
作者:互联网
参见英文答案 > Spring3.2 and jboss as 7 4个
自从Spring 3.2 GA发布以来,我想将我的Spring 3.1.2应用程序升级到最新版本.该应用程序在JBoss 7.1.1.Final上运行.其他一切都很顺利,除了我得到以下JBoss错误消息,我觉得很烦(虽然应用程序运行正常).任何的想法?
15:50:06,865 WARN [org.jboss.as.ee] (MSC service thread 1-13) JBAS011006: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.springframework.web.context.request.async.StandardServletAsyncWebRequest
at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606)
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_05]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_05]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_05]
解决方法:
为了抑制此警告消息,请在Jboss配置中添加以下行(如果您在独立模式下使用它,则为standalone.xml)
<?xml version='1.0' encoding='UTF-8'?>
<server xmlns="urn:jboss:domain:1.1">
...
<profile>
<subsystem xmlns="urn:jboss:domain:logging:1.1">
<console-handler name="CONSOLE">
<level name="INFO"/>
<filter>
<not>
<match pattern="JBAS011006"/>
</not>
</filter>
...
正如您在javadocs中检查的那样,此类没有默认构造函数.
因为它只是一个警告,一切顺利,你可以忽略它.
标签:java,spring,jboss,jboss7-x 来源: https://codeday.me/bug/20190629/1329962.html