Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ vanniktech-maven-publish = { id = "com.vanniktech.maven.publish", version = "0.3
springboot3 = { id = "org.springframework.boot", version.ref = "springboot3" }
springboot4 = { id = "org.springframework.boot", version.ref = "springboot4" }
spring-dependency-management = { id = "io.spring.dependency-management", version = "1.1.7" }
gretty = { id = "org.gretty", version = "4.0.0" }
gretty = { id = "org.gretty", version = "5.0.2" }
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gretty 5.x incompatible with Java 8 javax.servlet project

High Severity

Gretty 5.x requires JDK 17+ and only supports Tomcat 10+/Jetty 11+, which use Jakarta EE (jakarta.servlet). The sentry-samples-spring project targets Java 8 (VERSION_1_8), uses javax.servlet:javax.servlet-api:3.1.0, and depends on Tomcat 9. This combination is incompatible with Gretty 5.0.2, and the sample will fail to build or run.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit cc41e84. Configure here.

animalsniffer = { id = "ru.vyarus.animalsniffer", version = "2.0.1" }
sentry = { id = "io.sentry.android.gradle", version = "6.0.0-alpha.6"}
shadow = { id = "com.gradleup.shadow", version = "9.4.1" }
Expand Down
Loading