WFLYCTL0180:缺少/不可用的依赖项和反射性信息错误的服务

时间:2018-11-17 14:42:17

标签: jboss wildfly ejb-3.2

17:15:41,160 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "ETS_EAR.ear" 

回滚并显示以下失败消息:

{
    "WFLYCTL0080: Failed services" => {
        "jboss.deployment.subunit.\"ETS_EAR.ear\".\"ETSServices-0.0.1-SNAPSHOT.jar\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of subdeployment \"ETSServices-0.0.1-SNAPSHOT.jar\" of deployment \"ETS_EAR.ear\"
    Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for interface com.*.ets.remote.LoggingRemoteInter with ClassLoader ModuleClassLoader for Module \"deployment.ETS_EAR.ear.ETSServiceRemote-0.0.1-SNAPSHOT.jar\" from Service Module Loader
    Caused by: java.lang.NoClassDefFoundError: com/*/ets/client/jsflogging/ParentLoggingTO
    Caused by: java.lang.ClassNotFoundException: com.xocialive.ets.client.jsflogging.ParentLoggingTO from [Module \"deployment.ETS_EAR.ear.ETSServiceRemote-0.0.1-SNAPSHOT.jar\" from Service Module Loader]",
        "jboss.deployment.subunit.\"ETS_EAR.ear\".\"ETSValidators-0.0.1-SNAPSHOT.jar\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of subdeployment \"ETSValidators-0.0.1-SNAPSHOT.jar\" of deployment \"ETS_EAR.ear\"
    Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class com.*.validators.MCSValidatorEJB with ClassLoader ModuleClassLoader for Module \"deployment.ETS_EAR.ear.ETSValidators-0.0.1-SNAPSHOT.jar\" from Service Module Loader
    Caused by: java.lang.NoClassDefFoundError: Failed to link */*/*/YEFIErrorStructure/xml/schemas/version2_3/CommonErrorStructure (Module \"deployment.ETS_EAR.ear.MCSIntegration-0.0.1-SNAPSHOT.jar\" from Service Module Loader): org/apache/axis/AxisFault"
    },
    "WFLYCTL0412: Required services that are not installed:" => [
        "jboss.deployment.unit.\"ETS_EAR.ear\".WeldStartService",
        "jboss.deployment.unit.\"ETS_EAR.ear\".beanmanager"
    ],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"ETS_EAR.ear\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"ETS_EAR.ear\".beanmanager, jboss.deployment.unit.\"ETS_EAR.ear\".WeldStartService]"]
}

1 个答案:

答案 0 :(得分:0)

使用@resource(lookup = ...)代替@resource(name

Source