运行jboss出现
Not installing optional component org.jboss.errai.bus.server.servlet.StandardAsyncServlet$1 due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.jboss.errai.bus.server.servlet.StandardAsyncServlet$1
解决方法:修改JBoss的配置文件,如果是以standalone模式就修改standalone.xml
<profile>
<subsystem xmlns="urn:jboss:domain:logging:1.1">
<console-handler name="CONSOLE">
<level name="INFO"/>
/* **<filter> 添加此块代码
<not>
<match pattern="JBAS011006"/>
</not>
</filter>** */
.........
本文详细介绍了在运行jboss时遇到的部署异常问题,错误信息为JBAS011054,未能找到默认构造器。通过修改standalone.xml配置文件,添加过滤器代码,成功解决了该问题。
13万+

被折叠的 条评论
为什么被折叠?



