Java – GWT and guava issues
•
Java
It's hard for me to get GWT to work with guava I added guava-r09-gwt.net to my classpath Jar and < inherits name = "com. Google. Common. Collect. Collect" / > (copy this question to my * gwt. XML file However, I still receive the following errors:
The referenced lines are:
List<String> suggs = Lists.newArrayList();
If I try the following inheritance Tags:
<inherits name="com.google.common.collect.Lists"/>
Then GWT fails completely - 404 will be given when the browser transfers to the app, and there is no URL in the development panel of eclipse
What on earth did I do wrong?
Solution
You will notice com google. gwt. thirdparty. guava. common. collect. The lists are not actually in the guava tank Please try quoting com google. common. collect. Lists, you should achieve more success
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码