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

springboot configuration annotation processor not found in classpath问题

这是因为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>

 

相关文章:

  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
  • 2022-01-13
  • 2021-12-22
  • 2021-07-30
猜你喜欢
  • 2021-06-27
  • 2021-10-10
  • 2022-12-23
  • 2021-11-10
  • 2021-06-03
相关资源
相似解决方案