Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

测试TryLockRequest在打包时报错 #39

Open
lianwy11 opened this issue Sep 14, 2022 · 2 comments
Open

测试TryLockRequest在打包时报错 #39

lianwy11 opened this issue Sep 14, 2022 · 2 comments

Comments

@lianwy11
Copy link

报错内容:
无法将类 spec.sdk.runtime.v1.domain.lock.TryLockRequest中的构造器 TryLockRequest应用到给定类型;

过程:
创建RuntimeClient,client调用tryLock传入TryLockRequest打jar包测试报错。单独输出对象不报错

单独输出对象
13

centos7编译打包
11

代码及打包报错内容

12

@seeflood
Copy link
Member

看报错是你构造函数的传参不对,仔细检查下参数哈
image

@lianwy11
Copy link
Author

我参考了examples/test下的Lock构造函数的传参,打包的时候报错内容也是一样的

11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants