Comments (1)
问题分析
Java SDK 2.6.1使用了较高版本的netty和tcnative,Web3SDK 2.6.0与Web3SDK 2.6.1使用的netty和tcnative版本较低,两者同事使用时jar包冲突,导致SDK启动报错。
解决方法
由于Java SDK和Web3SDK包含相同的功能,但Java SDK功能更全且会持续迭代,因此不建议同时使用Web3SDK与Java SDK,建议使用Java SDK替代Web3SDK.
- 方法一: 将Web3SDK升级到
2.6.2
版本,使其与Java SDK基于同样版本的netty与tcnative - 方法二: 去除对Web3SDK的依赖,仅依赖Java SDK
from java-sdk.
Related Issues (20)
- Condition 问题 HOT 2
- Get block failed with errors!
- The secp256k1 has been removed from jdk16, resulting in the failure to connect to the bcos server in later jdk versions
- 更新3.0集成外部签名服务调用合约文档
- 日志文件出现 Get ca basic failed
- [contract.properties] cannot be opened because it does not exist HOT 1
- 3.2.0 版本新增的 JsonTransactionResponse.readFromHexString 接口有问题 HOT 2
- 底层升级至v3.2.0之后,发送交易出现异常 transaction hash mismatching HOT 1
- java-sdk 启动乱码 Dynamic exception type: struct boost::wrapexcept<class std::runtime_error>std::exception::what: HOT 2
- 合约调用后目前没法做到BcosSDK优雅退出 HOT 1
- 3.0版本solidity转java不支持结构体 HOT 7
- SpringBoot项目集成MQ连接Java-sdk时出错 HOT 3
- Adjusted frame length exceeds 2147483647: 4242973188 - discarded HOT 2
- 关于ssl handshake failed的问题 HOT 9
- 调用client的destroy方法,无法彻底销毁client HOT 3
- 关于3.x版本的文档 HOT 3
- 2.0版本,ChannelHandler 触发IdleStateEvent事件导致的问题 HOT 6
- 3.0 合约返回结构体转为java代码后获取结构体属性会报类型转换异常
- sol合约转换java 发生类型转换错误 HOT 4
- 希望查询链上的所有合约信息,有对应的接口吗 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-sdk.