Spring boot問題——spring boot configuration annotation processor not found in classpath

打開之前學習代碼然後出現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>

特此記錄。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章