我正在使用JBoss AS 7.1.1,並且無法讓EJB 3.0服務器項目運行。我得到的錯誤JBoss AS 7.1.1 jboss-deployment-structure.xml
JBAS014777: Services which failed to start: service jboss.deployment.unit."GrahamsProj.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."GrahamsProj.ear".STRUCTURE: Failed to process phase STRUCTURE of deployment "GrahamsProj.ear"
我看着它,並且錯誤似乎是屬於我的東西jboss-deployment-structure.xml
。這裏是我的樣子:
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.slf4j" />
</dependencies>
</deployment>
</jboss-deployment-structure>
我不知道我是否有任何依賴關係,因爲我從網上的例子得到了上述內容。我只知道錯誤意味着它不喜歡我的jboss-deployment-structure.xml
文件。我能做些什麼來使文件結構正確?