Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
可能原因
1 、pom.xml里面的spring-boot 的版本问题。检查一下在整合各组件时时候与spring-boot版本保持一致。
本人在整合openfeign组件时忘记修改spring-boot版本号,故报上述错误。由2.4.1改为2.2.5.RELEASE。问题解决
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.1</version>
<relativePath/>
</parent>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.5.RELEASE</version>
<relativePath/>
</parent>