You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since jetty-annotations and jetty-plus dependencies are available via websocket, AnnotationConfiguration and PlusConfiguration can be added in JettyEmbeddedServletContainerFactory. This will enable, for example, annotations like @MultipartConfig are picked up and registered by jetty.
The text was updated successfully, but these errors were encountered:
Embedded servlet containers will not directly execute the Servlet 3.0+ javax.servlet.ServletContainerInitializer interface, or Spring’s org.springframework.web.WebApplicationInitializer interface.
This is an intentional design decision intended to reduce the risk that 3rd party libraries designed to run inside a war will break Spring Boot applications.
You can use Boot's own @ServletComponentScan to have it scan for and automatically register @WebServlet, @WebFilter and @WebListener beans with the container. Now that #6680 has been fixed, it'll also honour @MultipartConfig.
Since
jetty-annotations
andjetty-plus
dependencies are available via websocket,AnnotationConfiguration
andPlusConfiguration
can be added inJettyEmbeddedServletContainerFactory
. This will enable, for example, annotations like@MultipartConfig
are picked up and registered by jetty.The text was updated successfully, but these errors were encountered: