在 Netbeans 中禁用/启用编译错误

发布于 2024-12-06 20:25:33 字数 117 浏览 0 评论 0原文

我犯了一个可怕的错误,告诉 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

哆啦不做梦 2024-12-13 20:25:33

对于 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.

你在看孤独的风景 2024-12-13 20:25:33

不要打扰 - 在进行目录差异后找到它:

停止 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 ? :-)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文