最近因工作需要重拾放下数年的JAVA,碰到不少问题,看来作为程序员得努力学习呀
今天早上碰到一个不能启动程序,看错误提示如果下:
Description Resource Path Location Type
The project was not built due to "Could not delete '/Net618/bin'.". Fix the problem, then try refreshing this project and building it since it may be inconsistent Net618 Unknown Java Problem
The project was not built due to "Could not delete '/Net618/bin'.". Fix the problem, then try refreshing this project and building it since it may be inconsistent Net618 Unknown Java Problem
细看,原来是因为bin目录下有个Test.class文件,而我的src里早已把Test.java给删除了,于是乎删除Test.class,即可正常启动。
此问题在网上有朋友说可以直接删除bin下的所有class让eclipse 自己重新编译就行了