FISCO-BCOS / FISCO-BCOS/web3sdk
使用工具包生成合约Java Wrap代码时报错
- Dominant language
- Java
- Stars
- 122
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
从 https://github.com/FISCO-BCOS/web3sdk 下载代码(Download ZIP),解压之后,目录名称将为:web3sdk-master,运行gradle命令后生成的工具包中,/dist/apps目录下生成的jar包名称为web3sdk-master.jar,导致和/dist/bin/web3sdk中配置的CLASSPATH中的配置项$APP_HOME/apps/web3sdk.jar名称不一致,从而导致使用工具包生成合约Java Wrap代码时会报错。
Contributor guide
Research direction
Reproduce the issue by downloading the repository ZIP, running the Gradle command, and comparing the generated /dist/apps jar name with the CLASSPATH entry in /dist/bin/web3sdk. Trace the packaging configuration responsible for the jar name. Done means the generated jar name matches the tool's configured web3sdk.jar entry and contract Java wrapper generation no longer fails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100