Cannot create service of type ReservedFileSystemLocationRegistry using ProjectExecutionServices.createReservedFileLocationRegistry()


Jhipster搭建的項目導入idea,報如下錯誤:Cannot create service of type ReservedFileSystemLocationRegistry using ProjectExecutionServices.createReservedFileLocationRegistry() as there is a problem with parameter #1 of type List<ReservedFileSystemLocation>

原因:項目啟動時新建文件,但是在linux下權限不足,導致一些配置文件無法新建,項目無法啟動。

解決:進入項目目錄下,修改所有文件的的用戶和用戶組為當前用戶,運行如下命令:

sudo chown -R user:user *

user為當前用戶代稱

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM