Eclipse中工程出现问题The project was not built due to "Could not delete...

在工程目录下误操作删除了bin\classes下的class文件,导致出现如下报错:

The project was not built due to "Could not delete '/GameTest/bin/classes/com'.".

解决方法如下:

(1)依次点击菜单栏Project->Clean

(2)如果步骤一无效,则可以删除bin下所有文件和文件夹,再次尝试步骤一,如果不行可删除后重启eclipse在尝试步骤一。

猜你喜欢

转载自blog.csdn.net/menghuangxiao/article/details/79619544