axon-tracing-opentelemetry with Spring Devtools crashes on start #2828
Labels
Priority 3: Could
Low priority. Issues that are nice to have but have a straightforward workaround.
Status: Resolved
Use to signal that work on this issue is done.
Type: Bug
Use to signal issues that describe a bug within the system.
Milestone
Basic information
Steps to reproduce
-add axon-tracing-opentelemetry to dependencies
-start application
Expected behaviour
application running successfully
Actual behaviour
application failed to run because of exception
Caused by: java.lang.ClassCastException: class org.axonframework.tracing.opentelemetry.OpenTelemetrySpanFactory cannot be cast to class org.axonframework.tracing.SpanFactory (org.axonframework.tracing.opentelemetry.OpenTelemetrySpanFactory is in unnamed module of loader 'app'; org.axonframework.tracing.SpanFactory is in unnamed module of loader org.springframework.boot.devtools.restart.classloader.RestartClassLoader @6084846e)
The text was updated successfully, but these errors were encountered: