Eclipse中无法删​​除错误 [英] Eclipse could not delete error

查看:160
本文介绍了Eclipse中无法删​​除错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作与Eclipse项目和现在一切都很好,但我已经尝试构建它最后一次,它返回的错误,

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,

该项目未建因无法删除/鱼雷/斌/箱'。解决问题,那么请尝试刷新这个项目,并构建它,因为它可能是不一致的鱼雷未知的Java问题

"The project was not built due to "Could not delete '/Torpedo/bin/bin'.". Fix the problem, then try refreshing this project and building it since it may be inconsistent Torpedo Unknown Java Problem"

和它删除存储所需程序的所有图像和东西我的bin文件夹。 (幸运的是我有一个备份)。我试过Google上搜寻它,并试图每一个解决方案,我发现,但没有任何帮助,也大多建议用手工删除该文件夹,这是我不能。
我应该怎么办?

And it deleted my bin folder which stores all the images and stuff needed for the program. (Fortunately I had a backup). I've tried googling it and tried every solution I found, but nothing helped, and also most of them suggests to delete the folder by hand, which I can't. What should I do?

推荐答案

我看到在Windows上半定期。我认为这是在Eclipse中的错误或种族,可能是带有病毒检查比赛不喜欢一个删除紧接着要被删除的同一个文件进行写操作。我使用的解决办法是使用工程 - 清洁​​从菜单栏中

I see this semi-regularly on Windows. I think it's a bug or race in Eclipse, maybe a race with a virus checker which doesn't like a delete immediately followed by a write to the same file that was deleted. The fix I use is to use Project -- Clean from the menu bar.

@Ash就在上面,你不应该有资源在你的输出文件夹的意见。为了帮助避免这种情况,我总是从本改变我的输出文件夹的名称,像蚀/班

@Ash is right in the comments above that you should not have resources in your output folder. To help avoid that, I always change the name of my output folder from "bin" to something more obvious like "eclipse/classes"

这篇关于Eclipse中无法删​​除错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆