今天当使用@ConfigurationProperties去获取配置信息时,idea提示spring boot configuration annotation processor not configured。
原因是需要增加依赖:
org.springframework.boot spring-boot-configuration-processortrue
加上之后就不提示了。

今天当使用@ConfigurationProperties去获取配置信息时,idea提示spring boot configuration annotation processor not configured。
原因是需要增加依赖:
org.springframework.boot spring-boot-configuration-processortrue
加上之后就不提示了。