spring boot Configuration Annotation Proessor not found in classpath问题
问题原因
@ConfigurationProperties(prefix=”author”) 没有指定classpath时,IDEA提示没有找到classpath。
问题分析
出现spring boot Configuration Annotation Proessor not found in classpath的提示是在用了@ConfigurationProperties这个注解时,所以问题出现在ConfigurationProperties注解。
解决方案
pom加入
<dependency&g
原创
2020-05-13 14:19:47 ·
111 阅读 ·
0 评论