]
Darran Lofthouse updated WFLY-13477:
------------------------------------
Fix Version/s: 20.0.0.Beta1
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.