athibanraj / gdata-java-client

Automatically exported from code.google.com/p/gdata-java-client
Apache License 2.0
0 stars 0 forks source link

Fetching contact list using gdata is failing #445

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

We are having spring roo web application. We want to integrate gdata library 
for fetching gmail contact list. As soon as we pasted the dependency in 
pom.xml(mvn), we are getting the error.

pom.xml[Full pom.xml is attached in the attachment]
<dependency>
    <groupId>com.google.gdata</groupId>
    <artifactId>core</artifactId>
    <version>1.47.1</version>
</dependency>
<dependency>
    <groupId>com.google.guava</groupId>
    <artifactId>guava</artifactId>
    <version>17.0</version>
</dependency>

Error : Getting ClassCastException. 
java.lang.ClassCastException: 
org.springframework.web.filter.HiddenHttpMethodFilter cannot be cast to 
javax.servlet.Filter
Added the complete gdataerror.txt for the reference.

Note: if i remove the above 2 libraries, then i could able to compile my 
project.

What steps will reproduce the problem?
1. With sample standalone application, we could able to fetch the contact list. 
We are finding the issue only with the actual application.
2.
3.

What is the expected output? What do you see instead?
Tomcat Server should start when i do mvn clean tomcat:run.
Getting the error message which is attached in the attachment.

What version of the product are you using? On what operating system?
gdata 1.47.1
Windows

Please provide any additional information below.

Your inputs are greatly appreciated.

Original issue reported on code.google.com by arun.sak...@scoopglobal.com on 15 May 2014 at 3:07

Attachments: