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 marlo-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<javax.inject.version>1</javax.inject.version>
<javax-mail.version>1.5.5</javax-mail.version>
<com.sun.mail.version>1.5.5</com.sun.mail.version>
<struts2.version>2.5.33</struts2.version>
<struts2.version>6.1.1</struts2.version>
Copy link

Choose a reason for hiding this comment

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

Struts 6 requires Jakarta EE, incompatible with javax

High Severity

Upgrading struts2.version from 2.5.33 to 6.1.1 introduces a Jakarta EE namespace dependency (jakarta.servlet.*), but the project still uses javax.servlet-api 3.0.1, Spring 4.3.x, and Tomcat 8.x which all use the javax.* namespace. Struts 6.x classes expect jakarta.servlet.HttpServletRequest and related types, which are incompatible with the javax.servlet classes provided. This will cause the application to fail at runtime due to class resolution failures.

Fix in Cursor Fix in Web

<mysql.version>8.0.16</mysql.version>
<servlet-api.version>3.0.1</servlet-api.version>
<jsp-api.version>2.2.1</jsp-api.version>
Expand Down