-
Jul 29th, 2011, 06:25 AM
#1
getAccounts() --> java.lang.NoSuchMethodError
I'm using the RC2 version and this is my code:
FacebookTemplate facebook = new FacebookTemplate(access);
facebook.pageOperations().getAccounts();
The last line throws this exception:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
.....
Caused by: java.lang.NoSuchMethodError: org.codehaus.jackson.map.type.TypeFactory.defaultI nstance()Lorg/codehaus/jackson/map/type/TypeFactory;
at org.springframework.social.facebook.api.impl.Faceb ookTemplate.deserializeDataList(FacebookTemplate.j ava:272)
at org.springframework.social.facebook.api.impl.Faceb ookTemplate.fetchConnections(FacebookTemplate.java :201)
at org.springframework.social.facebook.api.impl.Faceb ookTemplate.fetchConnections(FacebookTemplate.java :194)
I'll be very gratefull if you could help me with this problem. Thank you!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules