2017-11-14 17 views
1

私はJBOSS GA 5.1からJBOSS EAP 6.4に移行中ですが、モジュールのロードに問題があります。このエラーが発生します:-ear // .war //.POST_MODULE ERROR(java.lang.NoClassDefFoundError)

Nuevas dependencias que faltan/no satisfechas: 
service jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations (faltan) dependientes: [service jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations.HandleDelegate, service jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations.ValidatorFactory, service jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations.ORB, service jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations.Validator] 

    11:13:52,045 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operación ("deploy") falló - dirección: ([("deployment" => "SPM-GUI-ear.ear")]) - descripción de la falla: { 
     "JBAS014671: Servicios fallidos" => {"jboss.deployment.subunit.\"SPM-GUI-ear.ear\".\"SPM-GUI.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"SPM-GUI-ear.ear\".\"SPM-GUI.war\".POST_MODULE: JBAS018733: Error al procesar la fase POST_MODULE de subdeployment \"SPM-GUI.war\" of deployment \"SPM-GUI-ear.ear\" 
     Caused by: java.lang.NoClassDefFoundError: javax/faces/FacesException 
     Caused by: java.lang.ClassNotFoundException: javax.faces.FacesException from [Module \"deployment.SPM-GUI-ear.ear:main\" from Service Module Loader]"}, 
     "JBAS014771: Servicios con dependencias que faltan/no disponibles" => [ 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher.HandleDelegate falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher]", 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations.ValidatorFactory falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations]", 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher.ORB falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher]", 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations.ORB falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations]", 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher.Validator falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher]", 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations.Validator falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations]", 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher.ValidatorFactory falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher]", 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations.HandleDelegate falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations]" 
     ] 
    } 
    ... 
    ... 
    ... 
    11:13:52,045 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operación ("deploy") falló - dirección: ([("deployment" => "SPM-GUI-ear.ear")]) - descripción de la falla: { 
     "JBAS014671: Servicios fallidos" => {"jboss.deployment.subunit.\"SPM-GUI-ear.ear\".\"SPM-GUI.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"SPM-GUI-ear.ear\".\"SPM-GUI.war\".POST_MODULE: JBAS018733: Error al procesar la fase POST_MODULE de subdeployment \"SPM-GUI.war\" of deployment \"SPM-GUI-ear.ear\" 
     Caused by: java.lang.NoClassDefFoundError: javax/faces/FacesException 
     Caused by: java.lang.ClassNotFoundException: javax.faces.FacesException from [Module \"deployment.SPM-GUI-ear.ear:main\" from Service Module Loader]"}, 
     "JBAS014771: Servicios con dependencias que faltan/no disponibles" => [ 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher.HandleDelegate falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher]", 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations.ValidatorFactory falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations]", 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher.ORB falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher]", 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations.ORB falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations]", 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher.Validator falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher]", 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations.Validator falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations]", 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher.ValidatorFactory falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.TimerServiceDispatcher]", 
      "jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations.HandleDelegate falta [jboss.naming.context.java.comp.SPM-GUI-ear.jboss-seam.EjbSynchronizations]" 
     ] 
    } 

この問題を解決するにはどうすればよいですか?

+0

こんにちは、あなたは明確なタイトルを提供し、私たちがあなたを助ける方法を明確にしてください。 –

答えて

0

あなたの耳やJbossに依存していないようです。

耳にjavax/faces/FacesExceptionクラスを含むjarを追加します。

二つの選択肢:戦争で

  • :アプリ-web.war/libに
  • 耳で:APP-INF \

どのようにあなたが前にこのライブラリを追加しましたLIB。さらに援助するために、耳をどのように生成するかを教えてください。

javax.faces-apiで見つけることができますが、あなたの耳に適したバージョンを選択する必要があります。あなたの依存関係の例:

<dependency> 
    <groupId>javax.faces</groupId> 
    <artifactId>javax.faces-api</artifactId> 
</dependency> 
関連する問題