fixed bug: is not eligible for getting processed by all BeanPostProcessors

x33g5p2x  于2021-10-18 转载在 其他  
字(0.8k)|赞(0)|评价(0)|浏览(427)

因项目需要,去掉consul能力,但是编辑好了yml文件出现如下错误,一直读不到配置文件

报如下的错误:

已连接到目标 VM, 地址: ''127.0.0.1:51162',传输: '套接字''
2021-10-18 15:24:36.481 [main] INFO  o.s.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.retry.annotation.RetryConfiguration' of type [org.springframework.retry.annotation.RetryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v2.5.2)

解决办法,在包依赖的地方,去掉consul的依赖

//    implementation("org.springframework.cloud:spring-cloud-starter-consul-bus:3.0.3")
//    implementation("org.springframework.cloud:spring-cloud-starter-consul-config:3.0.3")

相关文章

微信公众号

最新文章

更多