File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
sentry-samples/sentry-samples-spring-boot-4 Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ dependencies {
4747 implementation(libs.springboot4.starter.webflux)
4848 implementation(libs.springboot4.starter.websocket)
4949 implementation(libs.springboot4.starter.restclient)
50+ implementation(libs.springboot4.starter.webclient)
5051 implementation(Config .Libs .aspectj)
5152 implementation(Config .Libs .kotlinReflect)
5253 implementation(kotlin(Config .kotlinStdLib, KotlinCompilerVersion .VERSION ))
Original file line number Diff line number Diff line change @@ -86,7 +86,12 @@ dependencies {
8686 testImplementation(libs.okhttp.mockwebserver)
8787 testImplementation(libs.otel)
8888 testImplementation(libs.otel.extension.autoconfigure.spi)
89- testImplementation(libs.springboot4.otel)
89+ /* *
90+ * Adding a version of opentelemetry-spring-boot-starter that doesn't support Spring Boot 4 causes
91+ * java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.autoconfigure.web.client.RestClientAutoConfiguration]
92+ * https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/14363
93+ */
94+ // testImplementation(libs.springboot4.otel)
9095 testImplementation(libs.springboot4.starter)
9196 testImplementation(libs.springboot4.starter.aop)
9297 testImplementation(libs.springboot4.starter.graphql)
You can’t perform that action at this time.
0 commit comments