springboot configuration annotation processor not found in classpath问题

有时在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>
原文地址:https://www.cnblogs.com/churujianghudezai/p/12695377.html