ERROR:A class was not written.
在eclipse环境下编写小程序时,一个类名设置为Con,但是Run时报错:
A class file was not written. The project may be inconsistent, if so try refreshing this project and building it.
将Con改为其他名字就不会有上述错误,搜索原因发现:con是操作系统保留的一个设备名字
原创
2015-11-04 20:58:43 ·
514 阅读 ·
0 评论