Spring Boot Configuration Annotation Processor not configured

1.问题:
Spring Boot Configuration Annotation Processor not configured

Spring Boot Configuration Annotation Processor not configured_第1张图片
2.原因:
在pom.xml增加依赖包

    
        org.springframework.boot
        spring-boot-configuration-processor
        true
    

如果我们的application.properties配置中有中文,可能会出现乱码
在setting -> editor -> file Encodings中修改编码
Spring Boot Configuration Annotation Processor not configured_第2张图片
application.properties文件中添加
spring.http.encoding.charset=UTF-8

你可能感兴趣的:(Spring Boot Configuration Annotation Processor not configured)