I'm having difficulty working GWT with Guava. I added guava-r09-gwt.jarto my classpath and <inherits name="com.google.common.collect.Collect"/>(copied from this question ) to my file *.gwt.xml. However, I still get the following error:
[ERROR] Line 99: No source code available for type com.google.gwt.thirdparty.guava.common.collect.Lists; did you forget to inherit the required module?
Written line:
List<String> suggs = Lists.newArrayList();
If I try the following tag inherits:
<inherits name="com.google.common.collect.Lists"/>
Then GWT completely fails - going to the application in the browser gives 404, and the URL is not displayed in the Eclipse development panel.
What am I doing wrong?
source
share