最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Consider defining a bean of type ‘com.ecwid.consul.v1.ConsulRawClient‘ in yo

运维笔记admin3浏览0评论

Description:

Parameter 0 of method tsfLaneInfoKVLoader in com.tencent.cloud.tsf.lane.config.TsfLaneAutoConfiguration required a bean of type 'com.ecwid.consul.v1.ConsulRawClient' that could not be found.


Action:

Consider defining a bean of type 'com.ecwid.consul.v1.ConsulRawClient' in your configuration.

[ERROR] 2022-01-14 14:21:10 -[]-[main] org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter (LoggingFailureAnalysisReporter.java:42) - 
 

原来是idea与eclipse有差别,要在build.gradle文件中添加sourceSets:

//以下是idea中要增加的配置:

sourceSets{
   main{
      resources{
         srcDirs 'src/main/java'
      }
   }
}

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论