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 {
47
47
implementation(libs.springboot4.starter.webflux)
48
48
implementation(libs.springboot4.starter.websocket)
49
49
implementation(libs.springboot4.starter.restclient)
50
+ implementation(libs.springboot4.starter.webclient)
50
51
implementation(Config .Libs .aspectj)
51
52
implementation(Config .Libs .kotlinReflect)
52
53
implementation(kotlin(Config .kotlinStdLib, KotlinCompilerVersion .VERSION ))
Original file line number Diff line number Diff line change @@ -86,7 +86,12 @@ dependencies {
86
86
testImplementation(libs.okhttp.mockwebserver)
87
87
testImplementation(libs.otel)
88
88
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)
90
95
testImplementation(libs.springboot4.starter)
91
96
testImplementation(libs.springboot4.starter.aop)
92
97
testImplementation(libs.springboot4.starter.graphql)
You can’t perform that action at this time.
0 commit comments