Message: Error creating bean with name ‘servletEndpointRegistrar‘
程序员文章站
2022-07-14 21:12:59
...
Message: Error creating bean with name 'servletEndpointRegistrar' defined in class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]
本意是使用自定义的数据源去替代springboot的自动构建数据源。结果一直找不到原因,出现这个问题也有很多原因,多数据源也会导致这个问题,一直以为是数据源导致。
后来发现原来是配置信息写错。。。。唉。。。。细心啊
害。配置搞错,郁闷两小时!!!!!!!!
修改:
再次启动时就不会错了
推荐阅读
-
Error creating bean with name 'entityManagerFactory' defined in class path resource解决方案
-
Error creating bean with name ‘eduChapterController‘: Unsatisfied dependency expressed through field
-
UnsatisfiedDependencyException: Error creating bean with name ‘xxxx‘:
-
springMVC常见错误-解决org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.spring
-
Error creating bean with name
-
Error creating bean with name 'eurekaAutoServiceRegistration'
-
Error creating bean with name报错
-
Error creating bean with name dfdatasource
-
Error creating bean with name ‘sqlSessionFactory‘
-
BeanCreationException: Error creating bean with name ‘requestMappingHandlerAdapter‘