Netbeans - 需要编译徽章

Gre*_*reg 3 java netbeans

我在 Netbeans 中创建了一个新类,当我将鼠标悬停在上面时,它上面有一个小扳手图标,上面写着“需要编译”。

我该如何摆脱它?我已经尝试了一切,编译文件,编译包,清理和构建项目。

(我使用的是 Netbeans 6.7.1)

tra*_*god 5

在 中File > Project Properties > Build > Compiling,选中“保存时编译”