IDEA - Project files cannot be watched (are they under network mount?)


在64位Linux系統上使用IDEA時遇到如下問題,啟動時警告信息
External file changes sync may be slow Project files cannot be watched (are they under network mount?)
命令行啟動時警告信息

api.vfs.impl.local.FileWatcher - Project files cannot be watched (are they under network mount?)

此 時如果文件在外部被修改,IDEA不能及時檢測到文件被修改,導致當前編輯的文檔與實際不符。問題原因是啟動腳本目錄下有兩個fsnotifier文件, 一個后綴為64,表示64位系統使用。IDEA默認只使用fsnotifier,如果系統是64位,則可能出現上面的錯誤,解決方法是嘗試將原 fsnotifier重命名(如加后綴32),然后將fsnotifier64重命名為fsnotifier,重啟IDEA。

參考:http://blog.jetbrains.com/idea/2010/04/native-file-system-watcher-for-linux/


免責聲明!

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



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