SpringBoot使用@ConfigurationProperties注解出现警告的问题
在SpringBoot中使用@ConfigurationProperties注解出现警告,虽然该警告不影响程序正常运行,但看着糟心
pom.xml中添加以下内容即可消除
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>

浙公网安备 33010602011771号