requestmapping 参数没设置好 导致返回的protobuf解析报错
背景:使用protobuf2做与前端的数据交互,自己用junit测试的时候没问题,但是前端人员访问接口,总是报错:
com.google.protobuf.InvalidProtocolBufferException: Protocol message end-group tag did not match expected tag.
刚开始以为是protobuf jar包版本不一致导致的问题,...
原创
2019-06-13 15:20:46 ·
2162 阅读 ·
0 评论