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
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
springKafka2 = "2.8.11"
springKafka3 = "3.3.5"
sqldelight = "2.4.1"
tomcat9 = "9.0.108"
tomcat9 = "11.0.29"

Check warning on line 56 in gradle/libs.versions.toml

View check run for this annotation

@sentry/warden / warden: code-review

Setting tomcat9 to 11.0.29 breaks javax/Tomcat 9 consumers

This version is used by the Tomcat 9 integration target and the runnable Spring sample, both of which use the `javax.servlet` API. Tomcat 11 uses `jakarta.servlet`, so the integration target cannot run against the expected 9.0 server and the sample cannot deploy its javax-based application on that container.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Incompatible Tomcat major version bump

High Severity

Bumping tomcat9 and tomcat85-embed-core to 11.0.29 replaces the javax.servlet Tomcat 8.5/9 artifacts with Jakarta Tomcat 11. That breaks sentry-servlet tests, which expect those older versions and import javax.servlet, and the Spring 5 sample that uses tomcat-catalina. Jakarta is already covered by tomcat11.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c41959a. Configure here.

tomcat11 = "11.0.27"
vanniktechMavenPublish = "0.37.0"

Expand Down Expand Up @@ -268,7 +268,7 @@
java8-signature = { module = "org.codehaus.mojo.signature:java18", version.ref = "java8Signature" }

# tomcat libraries
tomcat85-embed-core = { module = "org.apache.tomcat.embed:tomcat-embed-core", version = "8.5.100" }
tomcat85-embed-core = { module = "org.apache.tomcat.embed:tomcat-embed-core", version = "11.0.29" }

Check warning on line 271 in gradle/libs.versions.toml

View check run for this annotation

@sentry/warden / warden: code-review

Tomcat 11 breaks the Tomcat 8.5 `javax.servlet` integration-test suite

`tomcat85-embed-core` now resolves to Tomcat 11, which is incompatible with the integration test’s `javax.servlet` types; the test also expects an 8.5.x server. This causes the pull-request integration workflow to fail.
tomcat9-embed-core = { module = "org.apache.tomcat.embed:tomcat-embed-core", version.ref = "tomcat9" }
tomcat-catalina = { module = "org.apache.tomcat:tomcat-catalina", version.ref = "tomcat9" }
tomcat-embed-jasper = { module = "org.apache.tomcat.embed:tomcat-embed-jasper", version.ref = "tomcat9" }
Expand Down
Loading