我正在尝试将Spring Boot 2.0.2应用程序升级到2.0.3.RELEASE,并在应用程序启动期间遇到以下问题:
const const1 = "adios";
const const2 = "muchasgracias";
var result = const2.replace(const2.substring(0,5), const1);
console.log(result);
如何正确配置应用程序以便与Spring Boot 2.0.3一起使用
此Maven依赖关系树:
***************************
APPLICATION FAILED TO START
***************************
Description:
Method servletEndpointRegistrar in org.springframework.boot.actuate.autoconfigure.endpoint.web.ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration required a bean of type 'org.springframework.boot.autoconfigure.web.servlet.DispatcherServletPathProvider' that could not be found.
- Bean method 'mainDispatcherServletPathProvider' not loaded because Default DispatcherServlet found dispatcher servlet bean dispatcherServlet
Action:
Consider revisiting the conditions above or defining a bean of type 'org.springframework.boot.autoconfigure.web.servlet.DispatcherServletPathProvider' in your configuration.