IDEA出现Spring Boot configuration annotation processor not found in classpath错误

这个错误只需要在pom.xml文件中添加spring-boot-configuration-processor的依赖即可。

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

猜你喜欢

转载自blog.csdn.net/c_learner_/article/details/107360842