aliyun / aliyun/alibabacloud-java-async-sdk
发送短信报错
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 34
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
`// Asynchronously get the return value of the API request
CompletableFuture response = client.sendSms(sendSmsRequest);
// Synchronously get the return value of the API request
SendSmsResponse resp = response.get();`
执行到resonse.get()时,报错:
java.lang.NoClassDefFoundError: org/apache/hc/client5/http/async/methods/SimpleRequestBuilder
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the asynchronous SMS example and the call to response.get(), then inspect the runtime dependencies for org/apache/hc/client5/http/async/methods/SimpleRequestBuilder. Reproduce the NoClassDefFoundError using the shown request flow. Done means the example reaches a SendSmsResponse without this missing-class error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100