-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Describe the bug
Sample application for Payara Microshed JWT (microshed-testing-jaxrs-mpjwt) is not working
To Reproduce
Edit Dockerfile to configure Payara
FROM payara/micro:5.193
CMD ["--deploymentDir", "/opt/payara/deployments", "--noCluster"]
ADD build/libs/myservice.war /opt/payara/deployments
comment out OpenLiberty in Dockerfile
OpenLiberty
#FROM openliberty/open-liberty:full-java8-openj9-ubi
#COPY src/main/liberty/config /config/
#ADD build/libs/myservice.war /config/dropins/
Expected behavior
grade build works; tests are executed successfully
System information:
- OS: Mac
- Java Version: Java 11.0.4
- MicroShed Testing Version: [e.g. 0.4.2]
ext.currentVersion = '0.9.2-SNAPSHOT'
ext.lastRelease = '0.9.1'
Additional context
First Exception shown is
Exception during lifecycle processing
org.glassfish.deployment.common.DeploymentException: CDI deployment failure:WELD-001408: Unsatisfied dependencies for type JsonWebToken with qualifiers @default
at injection point [BackedAnnotatedField] @Inject org.example.app.SecuredService.callerPrincipal
at org.example.app.SecuredService.callerPrincipal(SecuredService.java:0)
WELD-001408: Unsatisfied dependencies for type JsonWebToken with qualifiers @default