Bug#1130731: jetty12: Issue with annotation @MultipartConfig (EE8)
Fab Stz
fabstz-it at yahoo.fr
Sun Mar 15 16:30:24 GMT 2026
Hello,
Le dimanche 15 mars 2026, 16:41:48 heure normale d’Europe centrale Emmanuel Bourg a écrit :
> 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?
Yes, and I had to manually add the ee8-annotations module also with upstream's jetty distribution.
That's why I ended up closing this issue with [1]
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1130731#10
> > 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.
Apparently it is not enabled by default.
Regards
Fab
More information about the pkg-java-maintainers
mailing list