SpringBootApplication can't start up with otel-javaagent v1.15.0 with opentelemetry-samplers.jar #6234
-
|
Hi,
I just simply included SpringBootSmokeTest failed. Any idea or suggestion? Please let me know if you need a issue for this and which repo |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Looks like you have shaded inside |
Beta Was this translation helpful? Give feedback.
Looks like you have shaded
opentelemetry-apiin both boot loader and underinst/(where it shouldn't be). Try addingimplementation("io.opentelemetry.contrib:opentelemetry-samplers:1.15.0-alpha")tocustom/build.gradlealso in the same file addinside
shadowJar. Hopefully this way you'll get classes fromopentelemetry-samplersininst/and won't get the classes that are supposed to be in boot loader.