Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Empty Errors in Eclipse Problems View

Tags:

I recently converted my work dev environ from Idea to Eclipse. I've got everything in and building properly, but I have 23 empty error messages in my Problems view. I can still build everything despite these errors, but it is quite annoying to have the "Errors in project" popup when building.

The project "Web_ImageViewer" is a GWT project.

I have a hunch that these errors are somehow related to ignoring GWT output folders, but I'm not sure.

I can delete these errors, but they just come back. Anyone have any idea how I can permanently get rid of these? Or if they are actually trying to tell me something useful?

(I can't post an Image since I'm a new user)

like image 206
gnielsen Avatar asked Mar 30 '11 20:03

gnielsen


People also ask

How can I see all errors in Eclipse?

The Eclipse error log captures internal errors that are caused by the operating system or your code. To view the Eclipse error log: Switch to the Plug-in Development perspective. From the main menu, select Window > Show view > Other.

Why errors are not showing in Eclipse?

You need to open the eclipse Markers view ( Window->Show View->Markers ), it will show all errors about your project, if you correct all the errors, your problem will most likely be solved.

What does the Problems view show in Eclipse?

The “Problems” view in Eclipse lists errors and warnings in the workspace. In its default settings this view is not entirely helpful, but it is highly customizable. Today I want to show you how you can configure this view to shift the focus to the interesting errors and warnings in your current area of work.


2 Answers

Check the Problems tab "Type" column to see what validator the errors are being generated from. If the errors are useless, try turning off that kind of validation and doing a clean and build. Go to Preferences > Validation at the global level, or turn off validation for individual projects by right-clicking project > Properties > Validation

I regularly turn off my HTML validator since the HTML isn't well-formed when you are working with JSPs.

Update

Seems like a lot of people are narrowing unknown errors down to the Web (2.2-2.4) Validator. Try turning that one off and rebuilding.

like image 114
Sean Adkinson Avatar answered Oct 12 '22 19:10

Sean Adkinson


I narrowed it down to "Web (2.2-2.4) Validator". After disabling it you need to Clean the project for the error to disappear.

like image 41
Vilo Avatar answered Oct 12 '22 19:10

Vilo