spring boot 使用
@ConfigurationProperties(prefix = "person")
时,运行将提示spring boot configuration annotation processor not found in classpath
但,依然可以正常使用,解决办法如下:
pom.xml增加:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
即可
本文标题: | spring boot configuration annotation processor not found in classpath |
本文链接: (转载请附上本文链接) | https://vulsee.com/archives/vulsee_2019/0702_8096.html |