<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
加这个到pom上就可以了。 官网文档指导 ![在这里插入图片描述](https://img-blog.csdnimg.cn/20200821111357718.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2tlcmFwYQ==,size_16,color_FFFFFF,t_70#pic_center)
@ConfigurationProperties失效 是因为缺少spring-boot-maven-plugin的插件
最新推荐文章于 2024-06-08 11:48:07 发布