作者: hyace 时间: 2014-4-5 22:47
第一次见。。试着Eclipse里编译了下,报错是“A class file was not written. The project may be inconsistent, if so try refreshing this project and building it“,搜了下是你类名起的有问题,con是操作系统里的设备名,CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 都不能用,把你con都改成了cus。