简体   繁体   English

Java Netbeans - 错误未显示

[英]Java Netbeans - Errors not showing up

My Netbeans is not showing up errors in the editor.我的 Netbeans 没有在编辑器中显示错误。 It's showing errors in the bottom bar.它在底栏中显示错误。 I have no idea how to resolve it.我不知道如何解决它。

Here's the screenshot:这是屏幕截图: 在此处输入图像描述

I get this problem a lot, I am usually able to fix it by hitting the save all button, but in the code you showed me it doesn't look like there is any errors.我经常遇到这个问题,我通常可以通过点击全部保存按钮来修复它,但是在你展示给我的代码中,它看起来没有任何错误。

You could also try to reset your settings:https://core.netbeans.org/proposals/reset-settings-ui-spec.html您也可以尝试重置您的设置:https ://core.netbeans.org/proposals/reset-settings-ui-spec.html

There is also a link here that also explains how to reset: How to " RESET to DEFAULT " colors of text editor in NetBeans?这里还有一个链接也解释了如何重置: How to "RESET to DEFAULT" colours of text editor in NetBeans?

I had this problem after changing the setting Preferred look and feel under Tools/Options/Appearance/Look and FeelTools/Options/Appearance/Look and Feel下更改设置Preferred look and feel后我遇到了这个问题

Toggling this setting between a different option and my preferred option fixed the issue somehow...在不同的选项和我的首选选项之间切换此设置以某种方式解决了这个问题......

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM