Eclipse could not delete error

后端 未结 29 1864
粉色の甜心
粉色の甜心 2020-12-30 18:25

I\'m working on a project with Eclipse and by now everything was fine, but last time I\'ve tried building it, it returned the error,

\"The project was

29条回答
  •  春和景丽
    2020-12-30 19:10

    Solution (for me): In my case the file was no longer existing wherever it was linked from, hence the file could not be found ( obvious ). All of the files being referenced are in paths in my src folder somewhere or in other local projects. Nothing so far has worked for me except the following...

    How I was able to remove my broken links.

    • Open Eclipse, open project
    • Go to folder (in explorer) where the file is being referenced from.
    • Create a file (blank/empty) with the same name as the file being referenced (ie: "File.java").
    • Go back into eclipse and refresh project.
    • Now you can delete the file that is now being found.

    Link removed.

    This is a dirty workaround. I do hope that this issue is resolved however.

提交回复
热议问题