1

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"]) 
Community
  • 1
  • 1
user2921591
  • 51
  • 1
  • 1
  • 6

0 Answers0