Le 14/03/2026 à 11:59, Fab Stz a écrit :
I added the @MultipartConfig on css-validator.
Everything works fine on jetty9, tomcat10 & tomcat11, but it fails with jetty12.
Error is like this:
2026-03-14T10:07:15.607675Z 01O java.lang.IllegalStateException: No multipart
config for servlet
2026-03-14T10:07:15.607676Z 01O at
org.eclipse.jetty.ee8.nested.Request.getParts(Request.java:1716)
2026-03-14T10:07:15.607678Z 01O at
org.eclipse.jetty.ee8.nested.Request.getParts(Request.java:1700)
2026-03-14T10:07:15.607679Z 01O at
org.eclipse.jetty.ee8.nested.Request.getPart(Request.java:1691)
According to this issue, I believe made it correctly
https://github.com/jetty/jetty.project/issues/5987
I suspect that jetty12 in Debian couldn't analyse correctly the
@MultipartConfig annotation, hence the error.
Did you try with the upstream distribution of Jetty 12?
Given that there are some Debian specific patches esp. for EE8 in the jetty12
package, could this be another debian packaging issue, somehow like #1129638 ?
I don't think annotation parsing is disabled by default. If I understand
well the annotation parsing module is a dependency of the jsp module
which is enabled by default, so it should work.
BTW, I'm totally unsure on whether the correct fix for #1129638 was just to add
the dependency.
I'm pretty sure the missing dependency was the issue for #1129638. If
not it can be reopened.
Emmanuel Bourg