当前位置:网站首页>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 .
边栏推荐
- 提交Spark应用的若干问题记录(sparklauncher with cluster deploy mode)
- J'ai traversé le chemin le plus fou, le circuit cérébral d'un programmeur de saut d'octets
- Simple records of business system migration from Oracle to opengauss database
- 7-8 likes (need to continue to improve)
- SQL quick start
- Shell_ 05_ operator
- Basic principles of video compression coding and audio compression coding
- LeetCode 1020. Number of enclaves
- Soft music -js find the number of times that character appears in the string - Feng Hao's blog
- JS time function Daquan detailed explanation ----- AHAO blog
猜你喜欢

Gridhome, a static site generator that novices must know

Chapter 1 overview of MapReduce

Simply try the new amp model of deepfacelab (deepfake)

我在字节跳动「修电影」

LeetCode 1020. Number of enclaves

Basic principles of video compression coding and audio compression coding

Redis standalone startup

两个礼拜速成软考中级软件设计师经验

Soft music -js find the number of times that character appears in the string - Feng Hao's blog

图像处理一百题(11-20)
随机推荐
【锟斤拷】的故事:谈谈汉字编码和常用字符集
@RequestMapping、@GetMapping
Saw local status change event StatusChangeEvent [timestamp=1644048792587, current=DOWN, previous=UP]
7-12 inventory code base
How to configure hosts when setting up Eureka
~68 Icon Font introduction
Li Kou leetcode 280 weekly match
The concept of spark independent cluster worker and executor
Shell_ 02_ Text three swordsman
Chapter 5 detailed explanation of consumer groups
DS18B20数字温度计系统设计
图像处理一百题(1-10)
Erlang installation
Codeforces Global Round 19
7-8 likes (need to continue to improve)
「博士毕业一年,我拿下 ACL Best Paper」
~84 form supplement
Full record of ByteDance technology newcomer training: a guide to the new growth of school recruitment
解决Intel12代酷睿CPU【小核载满,大核围观】的问题(WIN11)
~86m rabbit practice