Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DenyAll location error for ejb/EjbEndpoint and jaxrs/RolesEndpoint in Eclipse #166

Closed
sberyozkin opened this issue Mar 18, 2020 · 0 comments · May be fixed by #167
Closed

DenyAll location error for ejb/EjbEndpoint and jaxrs/RolesEndpoint in Eclipse #166

sberyozkin opened this issue Mar 18, 2020 · 0 comments · May be fixed by #167
Milestone

Comments

@sberyozkin
Copy link
Contributor

After rebuilding the Eclipse workspace I see

The annotation @DenyAll is disallowed for this location

for the above 2 test resources.

mvn clean build is all good.

The eclipse workspace has DenyAll imported via 2 dependencies, jsr-250-api-1.0 and jakarta-annotation-api-1.3.5, the former is coming from

org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven-archive:jar:2.2.4:runtime
[INFO]       +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-spi-maven-archive:jar:2.2.4:runtime
[INFO]       +- org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.0.M1:runtime
[INFO]       |  +- javax.enterprise:cdi-api:jar:1.0:runtime
[INFO]       |  |  +- javax.annotation:jsr250-api:jar:1.0:runtime
[INFO]       |  |  \- javax.inject:javax.inject:jar:1:runtime
[INFO]       |  \- org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.0.M1:runtime
[INFO]       \- org.codehaus.plexus:plexus-compiler-javac:jar:2.3:runtime
[INFO]          \- org.codehaus.plexus:plexus-compiler-api:jar:2.3:runtime
[INFO] 

and needs to be excluded

@sberyozkin sberyozkin changed the title DenyAll location error for ejb/EjbEndpoint and jaxrs/RolesEndpoint DenyAll location error for ejb/EjbEndpoint and jaxrs/RolesEndpoint in Eclipse Mar 18, 2020
@sberyozkin sberyozkin added this to the JWT-1.2 milestone Mar 18, 2020
@sberyozkin sberyozkin modified the milestones: JWT-1.2, JWT-2.0 Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant