相关疑难解决方法(0)

无法注册以null定义的bean"metaDataSourceAdvisor"

我已经将Spring Boot版本从2.0.3更新到2.1.1但是我得到了这个:

***************************
APPLICATION FAILED TO START
***************************

Description:

The bean 'metaDataSourceAdvisor', defined in null, could not be registered. A bean with that name has already been defined in null and overriding is disabled.

Action:

Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
Run Code Online (Sandbox Code Playgroud)

我得到错误 - 问题是这defined in null不是一个好的指针在哪里看.我已经看到了这个问题,但我实际上更愿意继续禁止压倒糊涂的豆子.

有任何想法吗?


记录输出

2019-01-06 07:33:39.282  INFO 29626 --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2019-01-06 07:33:39.282  INFO …
Run Code Online (Sandbox Code Playgroud)

spring-boot

19
推荐指数
2
解决办法
2万
查看次数

标签 统计

spring-boot ×1