Skip to content

smallrye-jwt can not be used with JAX-RS and smallrye-open-tracing  #5419

@sberyozkin

Description

@sberyozkin

Describe the bug
See quarkusio/quarkus-quickstarts#369

Expected behavior
Excluding quarkus-undertow should be enough. (it should probably be excluded from quarkus-smallrye-opentracing)

Actual behavior
Adding

<dependency>
      <groupId>io.quarkus</groupId>
      <artifactId>quarkus-smallrye-opentracing</artifactId>
      <exclusions>
       <exclusion>
        <groupId>io.quarkus</groupId>
        <artifactId>quarkus-undertow</artifactId>
      </exclusion>
     </exclusions>
  </dependency>

to https://github.com/quarkusio/quarkus-quickstarts/blob/development/security-jwt-quickstart/pom.xml

cause the test failure with

org.junit.jupiter.api.extension.TestInstantiationException: TestInstanceFactory [io.quarkus.test.junit.QuarkusTestExtension] failed to instantiate test class [org.acme.jwt.TokenSecuredResourceTest]
Caused by: java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: Failed to start quarkus
Caused by: java.lang.NoClassDefFoundError: io/quarkus/undertow/runtime/UndertowDeploymentRecorder
Caused by: java.lang.ClassNotFoundException: io.quarkus.undertow.runtime.UndertowDeploymentRecorder

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions