diff --git a/spring-bootstrap/src/main/java/org/springframework/bootstrap/context/embedded/properties/ServerProperties.java b/spring-bootstrap/src/main/java/org/springframework/bootstrap/context/embedded/properties/ServerProperties.java index c742e95a2c..cdfb5a488f 100644 --- a/spring-bootstrap/src/main/java/org/springframework/bootstrap/context/embedded/properties/ServerProperties.java +++ b/spring-bootstrap/src/main/java/org/springframework/bootstrap/context/embedded/properties/ServerProperties.java @@ -88,6 +88,10 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer { this.sessionTimeout = sessionTimeout; } + public void setLoader(String value) { + // no op to support Tomcat running as a traditional container (not embedded) + } + @Override public void customize(ConfigurableEmbeddedServletContainerFactory factory) { factory.setPort(getPort());