2 Replies Latest reply on Jan 20, 2017 3:59 PM by Peter Dunn

    Adding CDI(JBoss Weld2.0.3) ClassNotFound Exception - WildFly 10.1.0Final/IntelliJ

    Peter Dunn Newbie

      Moving to WildFly from an older container and having issues adding this Module. 


      Project deploys before adding the CDI module , project fail after adding module / no code changes



      [2017-01-19 08:46:42,448] Artifact SL7.0:ear exploded: java.lang.Exception: {


      Failed services" => {"jboss.deployment.unit.\"SL7_0_ear_exploded.ear\".WeldStartService"

      => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"SL7_0_ear_exploded.ear\".WeldStartService: Failed to start service

          Caused by: org.jboss.weld.exceptions.DeploymentException: Ljavax/wsdl/Service;

          Caused by: java.lang.NoClassDefFoundError: Ljavax/wsdl/Service;

          Caused by: java.lang.ClassNotFoundException: javax.wsdl.Service from

          [Module \"deployment.SL7_0_ear_exploded.ear:main\" from Service Module Loader]"},

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"SL7_0_ear_exploded.ear\".WeldStartService"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}


      WildFly has the wsdl4j-1.6.3.jar in the modules this jar contains the javax.wsdl.Service class.

      Added this library to project as well same result.  What is the correct way to resolve this issue?

      What step am I missing?

      (IDE: IntelliJ)