spring boot 运行 报 java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration.restTemplateBuilderConfigurer 的解决办法

新建了一个spring boot 的项目 ,然后 引用了好多包 ,刚新建的时候是没有问题的, 引了包以后 运行 报

java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration.restTemplateBuilderConfigurer

一个一个试 ,把 dependency 注释掉 ,发现是 这个 引用的问题, 注释掉就 可以 运行 了

        <!-- https://mvnrepository.com/artifact/org.springframework/org.springframework.orm -->
                <dependency>
                    <groupId>org.springframework</groupId>
                    <artifactId>org.springframework.orm</artifactId>
                    <version>3.2.2.RELEASE</version>
                </dependency>

下会出现类似的错误 一定要 检查 pom.xml 文件

posted @   ifnk  阅读(3568)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 为什么说在企业级应用开发中,后端往往是效率杀手?
· 本地部署DeepSeek后,没有好看的交互界面怎么行!
· 趁着过年的时候手搓了一个低代码框架
· 推荐一个DeepSeek 大模型的免费 API 项目!兼容OpenAI接口!
· 用 C# 插值字符串处理器写一个 sscanf
点击右上角即可分享
微信分享提示