A strange bug in the Eclipse GWT plugin when there is a separate source folder for resources

I have an Eclipse GWT project with two source folders: one for source code and one for resources. This should and works fine, but nonetheless, Eclipse shows the following error message:

The style.css resource file is missing (expected in com.example.gwt.client)

If there is a Resources class in the source folder of the source code:

 package com.example.gwt.client; import com.google.gwt.resources.client.*; interface Resources extends ClientBundle { @Source("style.css") Style style(); } 

CSS link files are in the same package in the source folder that I use for resources.

This is not a problem, since it definitely works, but I would like to get rid of the error message anyway, it made me nervous. Any ideas?

+7
source share
1 answer

See this GWT issue . Set the resource folder as the source folder in Eclipse and the errors in the editor will disappear.

+8
source

All Articles