我的程序用 spring + struts + mybatis 写成,在 tomcat 7.x 上可正常执行,因为开发完成,要部署到 JBoss AS 7.1,结果可以部署的上去,但是要 enable 时,会出现如下错误:
10:17:41,978 WARN [org.jboss.as.ee] (MSC service thread 1-7) JBAS011006: Not installing optional component org.springframework.http.server.ServletServerHttpAsyncRequestControl due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.springframework.http.server.ServletServerHttpAsyncRequestControl
22:38:35,326 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.module.service."deployment.xxx.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.xxx.war".main: Failed to load module: deployment.xxx.war:main
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]