1.问题:
Spring Boot Configuration Annotation Processor not configured
2.原因:
在pom.xml增加依赖包
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
如果我们的application.properties配置中有中文,可能会出现乱码
在setting -> editor -> file Encodings中修改编码
application.properties文件中添加
spring.http.encoding.charset=UTF-8