工程报错,查看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
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
本文介绍了解决Eclipse中出现的“工程未构建”错误的方法,包括清理Eclipse的工作区日志文件及调整Ubuntu系统的nofile参数。
1万+

被折叠的 条评论
为什么被折叠?



