I'm using guava in the same project where I'm using xtend. As Xtend was resolving the Guava version to 14.0.1 but I wanted latest version (17.0), I tried to exclude guava from pom like below, which resulted in that error. However, if I still keep the exclusions as is and down my guava version to 16.0.1, everything works. So it is something to do with Guava 17.0 incompatibility with xtend.
<dependency>
<groupId>org.eclipse.xtend</groupId>
<artifactId>org.eclipse.xtend.lib</artifactId>
<version>${xtend-version}</version>
<exclusions>
<exclusion>
<artifactId>guava</artifactId>
<groupId>com.google.guava</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.oehme.xtend</groupId>
<artifactId>xtend-contrib</artifactId>
<version>${xtend-contrib-version}</version>
<exclusions>
<exclusion>
<artifactId>guava</artifactId>
<groupId>com.google.guava</groupId>
</exclusion>
</exclusions>
</dependency>