-
使用的mapstruct报错
JSON parse error: Unexpected character (‘/’ (code 47)): maybe a (non-standard) comment? (not recognized as one since Feature ‘ALLOW_COMMENTS’ not enabled for parser);
nested exception is com.fasterxml.jackson.databind.JsonMappingException: Unexpected character (‘/’ (code 47)): maybe a (non-standard) comment? (not recognized as one since Feature ‘ALLOW_COMMENTS’ not enabled for parser)
at -
使用postman测试接口,报错如上;问题出现在"/"这个符号上。
-
如图:请求体里面有注释,导致json解析出现问题;
Mapstruct报错:JSON parse error: Unexpected character (‘/‘ (code 47)): maybe a (non-standard) comment
于 2021-10-26 11:41:02 首次发布