SpringBoot Configuration Annotation Proessor not found in classpath配置问题解决
SpringBoot配置问题解决
报错:
spring boot Configuration Annotation Proessor not found in classpath
在idea的代码最上方显示绿条,大概就是涨不到配置文件(yml)的路径,属于下面这个注解的报错
@ConfigurationProperties(prefix = "xxx")
解决:
配置pom.xml文件,添加以下内容
<dependency>
<groupId>org.springframew
原创
2020-06-12 20:43:39 ·
790 阅读 ·
0 评论