Spring Boot Configuration Annotation Processor not found in classpath

今天使用springboot编写shiroconfiguration配置类的时候最上面弹出

Spring Boot Configuration Annotation Processor not found in classpath

让人看了很不爽,于是百度查了解决方法:在maven 加上依赖即可

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

 

posted @ 2020-03-15 17:58  lemmon_water  阅读(130)  评论(0)    收藏  举报