1

该方法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"]) 
4

0 回答 0