这个异常是由于使用了不支持的数据类型导致的。具体来说,在使用com.baidu.bjf.remoting.protobuf.annotation.Protobuf注解时,不能使用java.lang.String类型。

要解决这个问题,你需要检查代码中使用了com.baidu.bjf.remoting.protobuf.annotation.Protobuf注解的地方,确保没有使用java.lang.String类型作为注解的字段类型。如果确实需要将字符串类型作为Protobuf消息的字段,可以考虑使用其他支持的数据类型,如byteschar[]

如果你无法修改使用了java.lang.String类型的字段,可能需要重新评估你的Protobuf消息定义和使用情况,以找到其他解决方案。

Exception in thread Thread-502 javalangIllegalArgumentException Invalid class javalangString no field use annotation combaidubjfremotingprotobufannotationProtobuf at class javalangString	at combaidubj

原文地址: http://www.cveoy.top/t/topic/iRBI 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录