Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13477

Cannot deploy microprofile-jwt quickstart to EAP XP1

XMLWordPrintable

      Deployment of microprofile-jwt QS according to the README in EAP XP 1.0.0.GA-CR1 fails with:

      [ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:2.0.0.Final:deploy (default-cli) on project microprofile-jwt: Failed to execute goal deploy: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"microprofile-jwt.war\".undertow-deployment" => "java.lang.NoClassDefFoundError: Lorg/eclipse/microprofile/jwt/JsonWebToken;
      [ERROR]     Caused by: java.lang.NoClassDefFoundError: Lorg/eclipse/microprofile/jwt/JsonWebToken;
      [ERROR]     Caused by: java.lang.ClassNotFoundException: org.eclipse.microprofile.jwt.JsonWebToken from [Module \"deployment.microprofile-jwt.war\" from Service Module Loader]"}}}}
      

      This is probably due to standalone.xml config used instead of standalone-microprofile.xml. Using standalone-microprofile.xml the deployment works fine.

              darran.lofthouse@redhat.com Darran Lofthouse
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: