Skip to content

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

@sberyozkin

Description

@sberyozkin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions