问题:导入后出现如上图Spring Boot Configuration Annotation Processor not configured的异常提示。
解决方法:解决办法是在pom文件中导入如下依赖,或者在创建springboot项目时主动勾选processor工具.
方法一:在pom文件中导入如下依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
</dependency>
方法二:创建springboot项目时主动勾选processor工具