Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

测试TryLockRequest在打包时报错

Open
#39 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
28/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
api

Research direction

Reproduce the CentOS 7 jar build using the RuntimeClient.tryLock call with TryLockRequest, then inspect the constructor error shown in the issue screenshots. Done means the Java SDK packages successfully and the same TryLockRequest call compiles without the reported error.

Written by the indexing model from the issue text.

Description

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

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

单独输出对象
13

centos7编译打包
11

代码及打包报错内容

12

Dominant language
Java
Stars
9
Forks
13
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from layotto/java-sdk

All issues in layotto/java-sdk

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.