Skip to content

测试TryLockRequest在打包时报错 #39

Open
@lianwy11

Description

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

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

单独输出对象
13

centos7编译打包
11

代码及打包报错内容

12

Activity

seeflood

seeflood commented on Sep 15, 2022

@seeflood
Member

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

lianwy11

lianwy11 commented on Sep 15, 2022

@lianwy11
Author

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

11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      测试TryLockRequest在打包时报错 · Issue #39 · layotto/java-sdk