解决Spring Boot Configuration Annotation Processor not found in classpath

问题截图:

解决方式:

在pom.xml文件中添加这些依赖

1 <dependency>
2     <groupId>org.springframework.boot</groupId>
3     <artifactId>spring-boot-configuration-processor</artifactId>
4     <optional>true</optional>
5 </dependency>

猜你喜欢

转载自www.cnblogs.com/shaohsiung/p/9649845.html