springbot xxx.properties cannot be opened because it does not exist

學習springboot,找了個項目學習。

出現 如下錯誤:

springbot  xxx.properties cannot be opened because it does not exist

檢查了多遍,配置文件沒有錯

後來發現target目錄中還是很久之前編譯產生的文件。

 

so

maven clean

重新 compile之後就可以了

 

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