异常如下:

com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `int` from String "山东分公司的": not a valid Integer value

at[Source:(String)"{"success":true,"executed":true,"userWorkData":{"userCode":"CUST2017120215060387926","workProvinceId":null,"wCityId":null,"wDistrictId":null,"wAddressDetail":"北京东城区","wAddressCompanyName":"北京腾讯科技有限公司","wAddressTelephone":null,"wAddressMobile":"15326591256","workJob":"山东分公司的","workPost":"部门经理"}}"; line: 1, column: 269]

字符串转成对象时,遇到的转换异常







类型不匹配,源数据为String类型,接收时用了int,类型不匹配

相关文章:

  • 2021-09-08
  • 2022-12-23
  • 2021-09-20
  • 2022-02-07
  • 2021-07-10
  • 2021-09-08
  • 2022-12-23
  • 2022-02-19
猜你喜欢
  • 2021-11-21
  • 2021-06-04
  • 2022-12-23
  • 2022-01-11
  • 2021-12-31
  • 2022-12-23
  • 2021-11-22
相关资源
相似解决方案