Closed dalbani closed 1 month ago
Note to self: org.eclipse.jetty.ee10:jetty-ee10-servlet:12.0.x
depends on version 6 of the Servlet API, where Scalatra mentions jakarta.servlet:jakarta.servlet-api:5.0.0
in Dependencies.scala
.
Edit: implemented in https://github.com/scalatra/scalatra/pull/1678/commits/0cb59a7f991b248fb45b95085dccd259ebaf9fa1.
Thanks a lot @magnolia-k for your very prompt reaction 👍
As I mentioned in #1675, would you mind releasing milestone 3.1.0-M2
so that I can test the change contained in this PR in a real world deployment?
Hey @magnolia-k, I hope you're doing fine. Let me know if I can help with a release of 3.1.0-M2
.
Thanks!
As one can see in the MR opened by @scala-steward-bot for the update to Jetty 12.0.8, something changed in this version of Jetty: it appears that passing a path to non-existent resource base directory is not allowed anymore.
https://github.com/scalatra/scalatra/pull/1662/checks#step:4:8808
This MR updates Jetty for both the
javax
andjakarta
to the latest version at the time of writing, plus make the necessary adjustment in Scalatra to be compatible with the change in Jetty 12.0.8.