Closed pedrolamarao closed 1 year ago
Applying runtimeOnly("com.squareup.okio:okio:3.3.0")
to upgrade this dependency did not change the result.
Applying runtimeOnly("com.squareup.okhttp3:okhttp:5.0.0-alpha.11")
to upgrade this dependency did not change the result.
Removing module-info.java
from this project works.
This project reproduces the problem: https://github.com/pedrolamarao/opentelemetry-java-issue-5166
Closing as duplicate of #4777. Thanks for the reproduction. We're open to ideas / contributions to address this issue.
Describe the bug
We have successfully applied OpenTelemetry autoconfiguration in one of our projects.
In this particular project, applying OpenTelemetry autoconfiguration fails with an exception.
This project compiles with
-release 11
and defines modules withmodule-info.java
files.Steps to reproduce
Apply
opentelemetry-sdk-extension-autoconfigure
to this project.What did you expect to see?
I expected OpenTelemetry to successfully auto-configure.
What did you see instead?
OpenTelemetry failed to auto-configure with the following stack trace:
What version and what artifacts are you using?
Gradle dependency report:
Environment
OS: Windows 10 22H2