A class file was not written. The project may be inconsistent, if so try refreshing this project and building it. eclipse提示错误 感觉很奇怪,查看了一下磁盘,发现workspace所在磁盘已经满了,删除一些文件之后,选择项目->Project->Clean...->选择Clean all projects->点击okclean之后,错误提示消失