[jboss-jira] [JBoss JIRA] (WFLY-13477) Cannot deploy microprofile-jwt quickstart to EAP XP1

Darran Lofthouse (Jira) issues at jboss.org
Fri May 15 09:50:33 EDT 2020


    [ https://issues.redhat.com/browse/WFLY-13477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099661#comment-14099661 ] 

Darran Lofthouse commented on WFLY-13477:
-----------------------------------------

This doesn't really affect WildFly as WildFly contains the microprofile-jwt subsystem in the standalone.xml - however for consistency with the other MicroProfile quickstarts it would make sense to also use the standalone-microprofile.xml configuration so they are consistent.


> Cannot deploy microprofile-jwt quickstart to EAP XP1
> ----------------------------------------------------
>
>                 Key: WFLY-13477
>                 URL: https://issues.redhat.com/browse/WFLY-13477
>             Project: WildFly
>          Issue Type: Bug
>          Components: Quickstarts
>            Reporter: Darran Lofthouse
>            Assignee: Darran Lofthouse
>            Priority: Major
>             Fix For: 20.0.0.Beta1
>
>
> Deployment of {{microprofile-jwt}} QS according to the README in EAP XP 1.0.0.GA-CR1 fails with:
> {code}
> [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]"}}}}
> {code}
> This is probably due to {{standalone.xml}} config used instead of {{standalone-microprofile.xml}}. Using {{standalone-microprofile.xml}} the deployment works fine.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list