Eclipse3.4.2死循環編譯

工程報錯,查看problem提示error:
Description Resource Path Location Type
The project was not built since the source file /ftsearch/src/main/java/com/comodo/hopsurf/web/actions/core/BaseAction.java could not be read ftsearch Unknown Java Problem
解決:1.
It seems to be an Eclipse "problem".
I've experienced the same error message, and after I closed Eclipse, deleted all old logs in workspace/.metadata, started Eclipse again it worked perfectly after a full rebuild.

解決2:
如果1解決不了。那麼sudo vim /etc/security/limits.conf,將下面第一行註釋去掉,同時添加第二行。 nofile通常ubuntu沒有指定,默認的值是1024。如果工程編譯的文件超過這個數目,就會提示上面的錯誤。其實,並不是ubuntu沒有權限去操作那個文件。 另,nofile打開limits.conf可以看到表示open files數目。
<domain> <type> <item> <value>
* - nofile 65535
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章