Wild Fly部署错误(无法处理子部署的阶段POST_MODULE" DemoEjb.jar"部署" DemoApp.ear")

时间:2015-07-16 13:51:07

标签: java eclipse hibernate jboss wildfly-8

我有4个项目[Demojpa,DEmoEjp,DEmoWEb,DEmo.ear] 当我运行EAR时,Wild Fly Generate

  

15:17:40,241 INFO [org.hibernate.tool.hbm2ddl.SchemaExport](ServerService线程池 - 60)HHH000230:架构导出完成   15:17:40,242 WARN [org.hibernate.internal.SessionFactoryImpl](ServerService线程池 - 60)HHH000008:与JDBCTransactionFactory一起使用的JTASessionContext;使用getCurrentSession()自动刷新将无法正常运行   15:17:40,588 ERROR [org.jboss.as.controller.management-operation](DeploymentScanner-threads - 1)JBAS014613:操作("部署")失败 - 地址:([("部署" =>" DemoApp.ear")]) - 失败描述:{       " JBAS014671:服务失败" => {" jboss.deployment.subunit \" DemoApp.ear \" \" DemoEjb.jar \" .INSTALL" => " org.jboss.msc.service.StartException in service jboss.deployment.subunit。\" DemoApp.ear \"。\" DemoEjb.jar \" .INSTALL :JBAS018733:无法处理子部署的阶段INSTALL \" DemoEjb.jar \"部署\" DemoApp.ear \"       引起:org.jboss.as.server.deployment.DeploymentUnitProcessingException:JBAS011047:组件类的devart.Example.Ejb.DefCountryEjb组件DefCountryEjb有错误:   JBAS011428:无法使用@ PersistenceContext"}注入RESOURCE_LOCAL容器管理的EntityManagers,       " JBAS014771:具有缺失/不可用依赖性的服务" => [           缺少[bboss.naming.context.java.comp.DemoApp.DemoEjb.DefCountryEjb]"           "缺少jboss.naming.context.java.comp.DemoApp.DemoEjb.DefCountryEjb.ValidatorFactory [jboss.naming.context.java.comp.DemoApp.DemoEjb.DefCountryEjb]",           " jboss.naming.context.java.module.DemoApp.DemoWeb.env。\" devart.Example.Servlet.DefCountryServlet \" .BllCountry缺失[jboss.deployment.subunit。\& #34; DemoApp.ear \" \" DemoEjb.jar \" .component.DefCountryEjb.VIEW \" devart.Example.Ejb.DefCountryEjb \&#34 ;. LOCAL]&#34 ;,           " jboss.deployment.unit。\" DemoApp.ear \" .deploymentCompleteService缺失[jboss.deployment.subunit。\" DemoApp.ear \"。\& #34; DemoEjb.jar \" .deploymentCompleteService]&#34 ;,           "缺少jboss.naming.context.java.comp.DemoApp.DemoEjb.DefCountryEjb.InstanceName [jboss.naming.context.java.comp.DemoApp.DemoEjb.DefCountryEjb]",           " jboss.naming.context.java.comp.DemoApp.DemoEjb.DefCountryEjb.Validator缺少[jboss.naming.context.java.comp.DemoApp.DemoEjb.DefCountryEjb]",           " jboss.naming.context.java.module.DemoApp.DemoWeb.env。\" devart.Example.WebBean.DefCountryPage \" .BllCountry缺失[jboss.deployment.subunit。\& #34; DemoApp.ear \" \" DemoEjb.jar \" .component.DefCountryEjb.VIEW \" devart.Example.Ejb.DefCountryEjb \&#34 ;. LOCAL]&#34 ;,           " jboss.deployment.subunit。\" DemoApp.ear \"。\" DemoEjb.jar \" .weld.weldClassIntrospector缺失[jboss.deployment.subunit。 \" DemoApp.ear \" \" DemoEjb.jar \" .beanmanager]&#34 ;,           " jboss.deployment.unit。\" DemoApp.ear \" .WeldStartService缺失[jboss.deployment.subunit。\" DemoApp.ear \"。\& #34; DemoEjb.jar \" .jndiDependencyService]"       ]   }   15:17:40,843 INFO [org.jboss.as.server](DeploymentScanner-threads - 1)JBAS018559:已部署" DemoApp.ear" (runtime-name:" DemoApp.ear")   15:17:40,844 INFO [org.jboss.as.controller](DeploymentScanner-threads - 1)JBAS014774:服务状态报告   JBAS014775:新的缺失/不满足的依赖项:         service jboss.deployment.subunit。" DemoApp.ear"。" DemoEjb.jar" .beanmanager(missing)dependents:[service jboss.deployment.subunit。" DemoApp.ear& #34;" DemoEjb.jar" .weld.weldClassIntrospector]         service jboss.deployment.subunit。" DemoApp.ear"。" DemoEjb.jar" .component.DefCountryEjb.VIEW。" devart.Example.Ejb.DefCountryEjb"。 LOCAL(缺失)dependents:[service jboss.naming.context.java.module.DemoApp.DemoWeb.env。" devart.Example.WebBean.DefCountryPage" .BllCountry,service jboss.naming.context.java。 module.DemoApp.DemoWeb.env" devart.Example.Servlet.DefCountryServlet" .BllCountry]         service jboss.deployment.subunit。" DemoApp.ear"。" DemoEjb.jar" .deploymentCompleteService(missing)dependents:[service jboss.deployment.unit。" DemoApp.ear& #34; .deploymentCompleteService]         service jboss.deployment.subunit。" DemoApp.ear"。" DemoEjb.jar" .jndiDependencyService(missing)dependents:[service jboss.deployment.unit。" DemoApp.ear& #34; .WeldStartService]         service jboss.naming.context.java.comp.DemoApp.DemoEjb.DefCountryEjb(missing)dependents:[service jboss.naming.context.java.comp.DemoApp.DemoEjb.DefCountryEjb.Validator,service jboss.naming.context.java。 comp.DemoApp.DemoEjb.DefCountryEjb.InAppClientContainer,service jboss.naming.context.java.comp.DemoApp.DemoEjb.DefCountryEjb.InstanceName,service jboss.naming.context.java.comp.DemoApp.DemoEjb.DefCountryEjb.ValidatorFactory]   JBAS014777:无法启动的服务:service jboss.deployment.subunit。" DemoApp.ear"。" DemoEjb.jar" .INSTALL:服务中的org.jboss.msc.service.StartException jboss.deployment.subunit。" DemoApp.ear"。" DemoEjb.jar" .INSTALL:JBAS018733:无法处理子部署的阶段INSTALL" DemoEjb.jar"部署" DemoApp.ear"

我在EAR模块汇编中设置了所有Project jar&#39>

0 个答案:

没有答案