(Eclipse) Hangs when building project: copying resources to output folder

故事扮演 提交于 2019-12-08 17:40:05

问题


This has been happening intermittently, but now its consistent.

When I go to build the project, eclipse just hangs forever at this step:

copying resources to output folder

I saw a suggestion to remove all non-java resources from the project and put them back in one at a time, but that is impractical for the size of this project.


回答1:


I was able to resolve this by using the following steps:

1) Closing eclipse - In case it does not close - Kill the process 2) Manually delete everything in the output folder 3) Start eclipse with -clean option -> eclipse.exe -clean

Hope this helps!




回答2:


I ended up using a new workspace. A new eclipse instance didn't fix it. A new workspace and the old eclipse worked fine.




回答3:


I just had the same problem, but now I've solved it.

The cause was not one really large file, but a lot of small files adding up to a large total.

For me it was not a problem to move these files, since in hindsight they didn't really belong there anyway.



来源:https://stackoverflow.com/questions/4686364/eclipse-hangs-when-building-project-copying-resources-to-output-folder

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!