论坛首页 入门技术论坛

Eclipse3.4.2死循环编译

浏览 2013 次
该帖已经被评为新手帖
作者 正文
   发表时间:2009-07-23   最后修改:2009-08-14
工程报错,查看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
论坛首页 入门技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics