FISCO-BCOS / FISCO-BCOS/java-sdk-demo

在压测java -cp 'conf/:lib/*:apps/*' org.fisco.bcos.sdk.demo.perf.PerformanceOk [count] [tps] [groupId]出现Exception in thread "main" java.lang.UnsatisfiedLinkError: failed to load the required native library

Open
#226 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17
Forks
27
PR merge metrics
No merged PRs in 30d

Description

具体问题是这个
Caused by: java.lang.IllegalArgumentException: Failed to load any of the given libraries: [netty_tcnative_linux_x86_64, netty_tcnative_linux_x86_64_fedora, netty_tcnative_x86_64, netty_tcnative]

简单查询了下,应该gradle依赖有问题,但是添加了netty-tcnative-boringssl-static包还是没有解决。
有人遇到过相同的问题吗?求解决方案

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with `java -cp 'conf/:lib/*:apps/*' org.fisco.bcos.sdk.demo.perf.PerformanceOk [count] [tps] [groupId]` and inspect the Gradle dependency resolution for the listed netty-tcnative libraries. Confirm which platforms and native libraries are available, then verify that the performance demo starts without the UnsatisfiedLinkError.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.