简体   繁体   中英

Eclipse problems view not showing warnings

I have a very similar problem to these threads: Eclipse Problems View not showing Errors anymore and Eclipse Problems View doesn't show Errors

However, my problem is that warnings are not showing up any longer, instead of errors. Errors show up just fine. They aren't showing up in files either. I tried the solutions in that thread anyways, but no luck.

I even tried going to Configure Contents and added a configuration to show everything with severity of "Warning". I tried moving the project to another computer, and warnings showed up just fine. I tried re-installing Eclipse, and the same issue appeared. Any other ideas?

This could be a problem with the Java compiler settings where you describe whether each kind compile issue (eg local value not read, etc.) is to be treated as an error, warning or simple ignored.

Go to Preferences -> Java -> Compiler -> Errors/Warnings and confirm that the warnings you expect to be flagged are in fact configured to be warnings.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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