2016-02-21 64 views
0

我刚开始使用Java EE。有没有人知道我在这里错过了什么?如果您需要更多信息,请与我们联系。我正在使用intelliJ和JBoss EAP。在IntelliJ中配置JBoss

[2016-02-21 11:57:19,930]神器helloworld:war:工件部署时出错。详情请参阅服务器日志。 [2016-02-21 11:57:19,931]工件helloworld:war:java.lang.Exception:{“JBAS014671:Failed services”=> {“jboss.deployment.unit。\”helloworld.war \“。INSTALL “=>”org.jboss.msc.service.StartException in service jboss.deployment.unit。\“helloworld.war \”。INSTALL:JBAS018733:未能处理阶段INSTALL部署\“helloworld.war \” :org.jboss.as.server.deployment.DeploymentUnitProcessingException:JBAS011047:组件com.rd.helloworld.HelloServlet对于组件com.rd.helloworld.HelloServlet有错误: JBAS011440:在部署中找不到名为null的持久性单元\“helloworld.war \”“},”JBAS014771:具有缺失/不可用依赖性的服务“=> [”jboss.deployment.unit。\“helloworld.war \”。weld.weldClassIntrospector is missing [jboss.deployment.unit。 \“helloworld.war \”。beanmanager]“]}

+0

“weld.weldClassIntrospector丢失” – m02ph3u5

回答

0

看起来你的persistence.xml是在错误的地方,因此“无法找到名为部署空持久性单元”

尝试在SRC复制的persistence.xml \主\资源\ META-INF