org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'feignClientsConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.TypeNotPresentException: Type org.springframework.boot.autoconfigure.http.HttpMessageConverters not present
升级到最近的版本 springboot
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.6.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

本文探讨了在将SpringBoot升级至2.0.6.RELEASE版本时遇到的FeignClientsConfiguration依赖注入失败的问题,具体表现为HttpMessageConverters类型未找到。文章提供了pom.xml中spring-boot-starter-parent的配置示例。
1223

被折叠的 条评论
为什么被折叠?



