问题分析:
在Springboot项目中使用 @ConfigurationProperties 注解会出现以下提示:
解决方法:
在pom.xml中导入spring-boot-configuration-processor依赖
org.springframework.boot spring-boot-configuration-processor true
问题成功解决!

问题分析:
在Springboot项目中使用 @ConfigurationProperties 注解会出现以下提示:
解决方法:
在pom.xml中导入spring-boot-configuration-processor依赖
org.springframework.boot spring-boot-configuration-processor true
问题成功解决!