请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

com.fasterxml.jackson.core.JsonParseException: Invalid UTF-8 middle byte 0xcf

当我的微信的nickname为,中文昵称的时候,报下面的错误:com.example.emos.wx.controller.form.RegisterForm[“nickname”]

1:47:51 ERROR 执行异常
org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Invalid UTF-8 middle byte 0xcf; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Invalid UTF-8 middle byte 0xcf
at [Source: (PushbackInputStream); line: 1, column: 199] (through reference chain: com.example.emos.wx.controller.form.RegisterForm[“nickname”])
at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:285)
at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.read(AbstractJackson2HttpMessageConverter.java:243)
at

正在回答 回答被采纳积分+3

1回答

神思者 2021-02-16 13:11:17

昵称里面不要有emoji字符

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号