在 Netbeans 中禁用/启用编译错误
我犯了一个可怕的错误,告诉 Netbeans 在运行我的 Maven 应用程序时始终忽略编译错误。
现在我想撤销这个,我似乎无法在各种配置面板中找到任何选项。
有人知道在哪里可以更改此选项吗?
I've made the terrible mistake of telling Netbeans always to ignore compilation errors when running my Maven application.
Now that I want to revoke this, I can't seem to find an option anyway in the various configuration panels.
Does somebody know where this option can be changed?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对于 NetBeans 8.0.2(就我而言):
C:\Users\username\AppData\Roaming\NetBeans\8.0.2\config\Preferences\org\netbeans\modules\java\source\BuildArtifactMapperImpl.properties
文件包含:
askBeforeRunWithErrors=false
设置为 true 或可以删除文件以重置。
For NetBeans 8.0.2 (in my case):
C:\Users\username\AppData\Roaming\NetBeans\8.0.2\config\Preferences\org\netbeans\modules\java\source\BuildArtifactMapperImpl.properties
file contains:
askBeforeRunWithErrors=false
Set to true or file can be deleted, to reset.
不要打扰 - 在进行目录差异后找到它:
停止 Netbeans,删除下面的文件并再次启动 Netbeans。
.netbeans/7.0/config/Preferences/org/netbeans/modules/java/source/BuildArtifactMapperImpl.properties
简单,不是吗? :-)
Don't bother - found it after making a directory diff :
Stop Netbeans, remove the file underneath and start Netbeans again.
.netbeans/7.0/config/Preferences/org/netbeans/modules/java/source/BuildArtifactMapperImpl.properties
Simple, no ? :-)