錯誤現象:讀取application.properties配置時,出現如下錯誤:spring boot configuration annotation processor not configured
解決方法:在pom.xml中添加如下依賴:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
