Spring Boot Annotion processor not found in classpath

问题:@ConfigurationProperties(prefix="") 没有指定 classpath 时,IDEA 提示没有找到 classpath。 原因:估计用的是高版本的springBoot,在x新版本中springBoot的@configurationProperties注解去掉了localhost属性,导致这个错误发生,所以建议还是直接从配置文件中读取字段而不是获取对象。 在没指定
相关文章
相关标签/搜索