首页 > 编程语言 > 详细

springboot configuration annotation processor not found in classpath问题

时间:2020-05-14 16:00:23      阅读:44      评论:0      收藏:0      [点我收藏+]

有时在springboot项目中会出现如下提示:

技术分享图片

这是因为springboot默认使用yml中的配置,但有时候要用传统的xml或properties配置,就需要使用spring-boot-configuration-processor了

解决方法:

在pom依赖对应依赖即可

<dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-configuration-processor</artifactId>
      <optional>true</optional>
</dependency>

 

springboot configuration annotation processor not found in classpath问题

原文:https://www.cnblogs.com/churujianghudezai/p/12695377.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!