Message: Error creating bean with name 'servletEndpointRegistrar' defined in class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]
本意是使用自定义的数据源去替代springboot的自动构建数据源。结果一直找不到原因,出现这个问题也有很多原因,多数据源也会导致这个问题,一直以为是数据源导致。
后来发现原来是配置信息写错。。。。唉。。。。细心啊
害。配置搞错,郁闷两小时!!!!!!!!
修改:
再次启动时就不会错了