Skip to content

Commit 20c8935

Browse files
adinauerclaude
andcommitted
fix(spring): Use Spring Boot 4 test starter in Spring 7 sample
The Spring 7 sample used libs.springboot.starter.test which resolved to Spring Boot 2.7.18, causing a classpath conflict with the Spring Framework 7.x runtime dependencies from the Spring Boot 4 BOM. This mismatch triggered Kotlin ClasspathEntrySnapshotTransform failures in the Spring Boot 4.x CI matrix for older versions (4.0.0, 4.0.5). Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f6f31d4 commit 20c8935

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry-samples/sentry-samples-spring-7/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ dependencies {
4949

5050
testImplementation(projects.sentrySystemTestSupport)
5151
testImplementation(libs.kotlin.test.junit)
52-
testImplementation(libs.springboot.starter.test) {
52+
testImplementation(libs.springboot4.starter.test) {
5353
exclude(group = "org.junit.vintage", module = "junit-vintage-engine")
5454
}
5555
}

0 commit comments

Comments
 (0)