问题
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