当前位置:网站首页>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 .
边栏推荐
- ~81 long table
- Shell_ 07_ Functions and regular expressions
- LeetCode 1637. The widest vertical area between two points without any point
- CMake Error: Could not create named generator Visual Studio 16 2019解决方法
- LeetCode 1447. Simplest fraction
- 图像处理一百题(1-10)
- 姚班智班齐上阵,竞赛高手聚一堂,这是什么神仙编程大赛?
- Research Report on market supply and demand and strategy of China's four flat leadless (QFN) packaging industry
- 第五章 Yarn资源调度器
- Chapter 6 rebalance details
猜你喜欢
Solr word segmentation analysis
Full record of ByteDance technology newcomer training: a guide to the new growth of school recruitment
这116名学生,用3天时间复刻了字节跳动内部真实技术项目
Chapter 6 rebalance details
Shell_ 05_ operator
两个礼拜速成软考中级软件设计师经验
J'ai traversé le chemin le plus fou, le circuit cérébral d'un programmeur de saut d'octets
Chapter 5 detailed explanation of consumer groups
Two weeks' experience of intermediate software designer in the crash soft exam
~86m rabbit practice
随机推荐
图像处理一百题(11-20)
字节跳动新程序员成长秘诀:那些闪闪发光的宝藏mentor们
7-6 sum of combinatorial numbers
Shell_ 05_ operator
Simple records of business system migration from Oracle to opengauss database
7-12 inventory code base
JS encapsulates the method of array inversion -- Feng Hao's blog
Use JQ to realize the reverse selection of all and no selection at all - Feng Hao's blog
LeetCode 1637. The widest vertical area between two points without any point
LeetCode 1562. Find the latest group of size M
7-10 punch in strategy
LeetCode 1584. Minimum cost of connecting all points
Audio and video development interview questions
Chapter III principles of MapReduce framework
(multiple methods, need to continue to see) 7-11 go deep into the tiger's Den
LeetCode 1558. Get the minimum number of function calls of the target array
第6章 DataNode
字节跳动技术面试官现身说法:我最想pick什么样的候选人
One hundred questions of image processing (11-20)
Solr word segmentation analysis