Skip to content

「thrift」not enough arguments in call to oprot.Flush #17

@muchuang1024

Description

@muchuang1024

原因:当前电脑 idl 编译器与thrift lib 的版本不一致,比如生成idl用0.9.3 ,代码中引用的thrift lib 版本是0.10.0;

当前环境版本:
thrift --version

代码中引用:
import(
"git.apache.org/thrift.git/lib/go/thrift"
)

解决方案:代码中import的thrift lib与当前电脑环境thrift版本保持一致

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions