当前位置:网站首页>Go language uses the thrift protocol to realize the client and service end reports not enough arguments in call to oprot Writemessagebegin error resolution
Go language uses the thrift protocol to realize the client and service end reports not enough arguments in call to oprot Writemessagebegin error resolution
2022-07-06 16:53:00 【Flower dog fdog】
Normal procedure :
install golang Of Thrift package :
go get git.apache.org/thrift.git/lib/go/thrift
install Thrift Of IDL Compiler tools :
http://www.apache.org/dyn/closer.cgi?path=/thrift/0.10.0/thrift-0.10.0.exe
An error will be reported when compiling the client , appear not enough arguments in call to oprot.WriteMessageBegin Error of , This is because the version of the local generation protocol is the same as go get git.apache.org/thrift.git/lib/go/thrift Different versions of the library are downloaded .
You can use it first Thrift Of IDL The compiler generates the protocol , Then enter git.apache.org/thrift.git Catalog , perform git checkout 0.10.0 Then recompile it .0.10.0 Is for IDL The compiler generates the protocol .
边栏推荐
- China tetrabutyl urea (TBU) market trend report, technical dynamic innovation and market forecast
- Record the error reason
- I'm "fixing movies" in ByteDance
- LeetCode 1637. The widest vertical area between two points without any point
- Educational Codeforces Round 122 (Rated for Div. 2)
- ffmpeg命令行使用
- ~75 background
- 字节跳动技术新人培训全记录:校招萌新成长指南
- Solr word segmentation analysis
- 7-7 ring the stupid bell
猜你喜欢
Story of [Kun Jintong]: talk about Chinese character coding and common character sets
~85 transition
ffmpeg命令行使用
I'm "fixing movies" in ByteDance
J'ai traversé le chemin le plus fou, le circuit cérébral d'un programmeur de saut d'octets
JS encapsulates the method of array inversion -- Feng Hao's blog
SQL快速入门
~84 form supplement
Chapter 5 namenode and secondarynamenode
第7章 __consumer_offsets topic
随机推荐
LeetCode 1640. Can I connect to form an array
Gridhome, a static site generator that novices must know
~72 horizontal and vertical alignment of text
FLV格式详解
Educational Codeforces Round 122 (Rated for Div. 2)
~79 Movie card exercise
Use JQ to realize the reverse selection of all and no selection at all - Feng Hao's blog
~81 long table
「博士毕业一年,我拿下 ACL Best Paper」
腾讯面试算法题
Educational Codeforces Round 122 (Rated for Div. 2)
第一章 MapReduce概述
One hundred questions of image processing (1-10)
Solve the problem that intel12 generation core CPU single thread only runs on small cores
Hbuilder x format shortcut key settings
LeetCode 1447. Simplest fraction
LeetCode 1545. Find the k-th bit in the nth binary string
ByteDance 2022 school recruitment R & D advance approval publicity meeting, students' top 10 issues
LeetCode 1562. Find the latest group of size M
解决Intel12代酷睿CPU【小核载满,大核围观】的问题(WIN11)