admin管理员组

文章数量:1402998

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'
      }
   }
}

本文标签: TypeecwiddefiningBeanConsulRawClient