guava, gwt and eclipse
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is it possible to use guava in the client side code of a gwt web application? If so, how does one add guava to an Eclipse project? I've added both the guava-10.0.1 and guava-gwt-10.0.1 jars to my build path and have added the source attachments to each but I still get this error: No source code is available for type com.google.gwt.thirdparty.guava.common.base.Predicate; did you forget to inherit a required module 回答1: OK, look at your import line. Does it look like this? import com.google.gwt.thirdparty.guava.common.base.Predicate; That's