A class file was not written. The project may be inconsistent, if so try refreshing this project and

来源:互联网 发布:dpp软件 mac怎么安装 编辑:程序博客网 时间:2024/05/08 09:03

A class file was not written. The project may be inconsistent, if so try refreshing this project and building it. 


在看java泛型的时候遇到这个问题,在网上找到了解决办法:


在网上找了教程,发现是因为windows上面的关键字,不能用导致的,看到zhtao0416写的教程,知道了下面的关键字不能再window上面用,改成Conn解决问题:

The following reserved device names cannot be used as the name of a file: CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. Also avoid these names followed by an extension (for example, NUL.tx7).


0 0
原创粉丝点击