pom加入
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
加上之后不要着急不妨等一会儿就会变绿了
参考该文章评论区
更多推荐
spring boot configuration annotation
发布评论