-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Milestone
Description
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>
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