google+ operations throws exception with spring social google

257 Views Asked by At

The method plusOperations().getPerson(googleId) generates the following exception:

Could not read JSON: No enum const class

org.springframework.social.google.api.plus.Person$UrlType.CONTRIBUTOR
(through reference chain: 
  org.springframework.social.google.api.plus.Person["urls"]->
  org.springframework.social.google.api.plus.ProfileURL["type"]); 
nested exception is 
com.fasterxml.jackson.databind.JsonMappingException: No enum const class 
org.springframework.social.google.api.plus.Person$UrlType.CONTRIBUTOR 
(through reference chain: 
  org.springframework.social.google.api.plus.Person["urls"]->
  org.springframework.social.google.api.plus.ProfileURL["type"]) 
0

There are 0 best solutions below