SpringBootSpring Boot Configuration Annotation Processor not found in classpath

Posted 一起学编程

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SpringBootSpring Boot Configuration Annotation Processor not found in classpath相关的知识,希望对你有一定的参考价值。

Question:
【SpringBoot】Spring Boot Configuration Annotation Processor not found in classpath

sloution:
maven方式:


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

grade方式:

dependencies {
    optional "org.springframework.boot:spring-boot-configuration-processor"
}
 
compileJava.dependsOn(processResources)

以上是关于SpringBootSpring Boot Configuration Annotation Processor not found in classpath的主要内容,如果未能解决你的问题,请参考以下文章

Springbootspring-boot-starter-redis包报错 :unknown

SpringBootSpring Boot Configuration Annotation Processor not found in classpath

Spring boot spring.batch.job.enabled=false 无法识别

Spring boot spring.batch.job.enabled=false 无法识别

Spring —— Spring Boot 创建和使用

Spring Boot入门 and Spring Boot与ActiveMQ整合