Unable to find 'com/google/common/collect/Collect.gwt.xml' on your classpath

1,369 views
Skip to first unread message

zixzigma

unread,
Feb 26, 2011, 4:37:43 PM2/26/11
to guava-discuss
I am getting the following Error, when using Guava in my GWT app,
and running it in Development mode using mvn gwt:run

[ERROR] Unable to find 'com/google/common/collect/Collect.gwt.xml' on
your classpath; could be a typo, or maybe you forgot to include a
classpath entry for source?

when running from IntelliJ GWT plugin, everything is fine.

do you know how I can resolve this ? I searched for a solution but
could not find any.
I really appreciate any feedback on this.

Thank You

in my gwt.xml file I have defined:
<inherits name="com.google.common.collect.Collect" />

and in my pom.xml
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>

<!-- JSR 305 Software Defect Detection Guava -->

<dependency>
<groupId>net.sourceforge.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>1.3.2</version>
</dependency>

Filipe Sousa

unread,
Feb 26, 2011, 5:01:42 PM2/26/11
to guava-...@googlegroups.com
You will need the guava-r08-gwt.jar and it's not in maven (afaik)

zixzigma

unread,
Feb 26, 2011, 7:58:24 PM2/26/11
to guava-...@googlegroups.com
oh you mean guava-r08-gwt.jar ?

zixzigma

unread,
Feb 26, 2011, 7:59:28 PM2/26/11
to guava-...@googlegroups.com
do you know where I can find guava-r080gwt.jar to manually install in my local repository ?

zixzigma

unread,
Feb 26, 2011, 8:20:54 PM2/26/11
to guava-...@googlegroups.com
oh I found it, it was part of guava download.
Reply all
Reply to author
Forward
0 new messages