谷歌+操作抛出异常与春季社交谷歌

时间:2014-05-12 18:40:00

标签: google-plus spring-social-google

方法plusOperations().getPerson(googleId)生成以下异常:

  

无法读取JSON:没有枚举const类

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 个答案:

没有答案