啓動部署項目後,啓動jboss報錯java
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.web.deployment.default-host./: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767web
啓動jboss歡迎頁是正常的,部署項目後就運行報錯。dom
問題解決以下:socket
找到jboss目錄下的/configuration/standalone.xml
spa
<subsystem xmlns=
"urn:jboss:domain:web:1.0"
>
<connector name=
"http"
protocol=
"HTTP/1.1"
socket-binding=
"http"
scheme=
"http"
/>
<
virtual
-server name=
"localhost"
enable-welcome-root=
"false"
>
<alias name=
"example.com"
/>
</
virtual
-server>
</subsystem>
修改enable-welcome-root=
"false"從新啓動,問題解決。
code