我想在应用程序运行时更改绑定端口,但是遇到错误消息'EmbeddedServletContainerCustomizer不能解析为类型‘。我的Spring引导版本是2.0.BUILD-快照。import org.springframework.stereotype.Component;
public class CustomizationBean implements EmbeddedServletContainerCustomizer{
public void cu
我的问题涉及Spring以及如何在cloudfoundry中运行的生产web应用程序中配置错误页面。在Spring引用应用程序中,我在中注意到以下代码: public static class ErrorConfig implements EmbeddedServletContainerCustomizer{
public void customize(