-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed
Labels
type: bugA general bugA general bug
Milestone
Description
Jetty warns "Empty contextPath" while my server application, which depends on spring-boot-starter-webflux 2.1.6 and spring-boot-starter-jetty 2.1.6, is starting.
2019-07-02 19:00:40,472 WARN main (ContextHandler) [-:-] Empty contextPath
It seems that JettyReactiveWebServerFactory
sets the context path always to "".
Line 176 in 4f47b39
ServletContextHandler contextHandler = new ServletContextHandler(server, "", false, false); |
So it makes Jetty logs the warning message.
if (contextPath.length() == 0)
{
LOG.warn("Empty contextPath");
contextPath = "/";
}
Metadata
Metadata
Assignees
Labels
type: bugA general bugA general bug