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