You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/08/02 12:12:10 UTC
[GitHub] renlei413326889 edited a comment on issue #2006: consumer 抛出Dubbo client can not supported string message原因分析
renlei413326889 edited a comment on issue #2006: consumer 抛出Dubbo client can not supported string message原因分析
URL: https://github.com/apache/incubator-dubbo/issues/2006#issuecomment-409900948
线上碰到一样的错误:
2018-08-02 17:36:16 [com.alibaba.dubbo.common.logger.slf4j.Slf4jLogger:74] - [DUBBO] Dubbo client can not supported string message: 慩試ZC0(com.tontisa.erpweb.entity.BaseLineTravel�^BID^EerpID^FlineID^FtheDay
theTraffic^GtheFrom^EtheTtheTitle^GtheDestheHotel^FtheCan theFlight^FbySort^FisLock^EadmID^EisDel^Cimg theScenic
updateTime^GaddTime^VbaseLineTravelJourneys`<画NN�^B椋炴満NN^L绂忓窞/鍘﹂棬-棣欐腐-閲戣竟 0@璐靛浜庢寚瀹氭椂闂撮泦鍚堜簬鏈哄満鍥介檯鏈哄満鍥介檯鍑哄彂鍘咃紝鎼箻璞崕>瀹㈡満缁忛娓浆鏈洪寰�鏌煍瀵ㄩ閮解�斺�滀笢鏂瑰皬宸撮粠鈥濋噾杈瑰競锛屾櫄椁愬悗涔樿溅鍓嶅線閰掑簵鍏ヤ綇銆�^F褰撳湴4鏄熼厭搴�^A鏅歂悙<'^_N1^G/erp_files/files/336/image/20160219/20150228124025_kcQsy.thumb.700_0_1455850382673.jpeg,/erp_files/files/336/image/20160219/20150226110304_dYmVL.thumb.700_0_1455850382774.jpeg,/erp_files/files/336/image/20160219/20150228111736_LzFMM.thumb.700_0_1455850382791.jpegNJ^@^@^Aat%L^OJ^@^@^Aat%K揘`<^\ENN�^E澶у反銆侀鏈篘D1绂忓窞-鏇艰胺 02璐靛浜庢寚瀹氭椂闂村強鍦扮
消费端错误返回如上:
1、服务端设置过(查资料有说可能数据太大):
<dubbo:protocol name="dubbo" port="20893" register="${service.register}" payload="33554432"/>
依然有问题
2、实体类BaseLineTravel:
public class BaseLineTravel implements java.io.Serializable {
private static final long serialVersionUID = 1L;
private Long ID;
private Integer isDel;
private String img;
private String theScenic;
private List<BaseLineTravelJourney> baseLineTravelJourneys;
....
有做序列化处理,BaseLineTravelJourney:
public class BaseLineTravelJourney implements java.io.Serializable 也有处理
@chickenlj @beiwei30
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org