Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-19451

Cannot deploy microprofile-jwt quickstart to EAP XP1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.3.1.CR2, 7.3.1.GA
    • EAP-XP-1.0.0.GA-CR1
    • Quickstarts
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              darran.lofthouse@redhat.com Darran Lofthouse
              nziakova@redhat.com Nikoleta Ziakova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: