You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

无法定位corda-tools-network-builder.jar且下载文件损坏,求助Docker部署Corda节点

Fixing Corda Network Builder Jar Issues & Running Nodes in Docker

Hey, sorry to hear you're stuck with the Corda Network Builder jar problems—can't find corda-tools-network-builder.jar, and the one you downloaded got corrupted? Let's break down how to resolve this and get your Corda nodes up in Docker:

1. Get a Valid, Uncorrupted Jar File

The download issue you ran into is likely due to a partial transfer or cache glitch. Here's how to get a working copy:

  • Skip the problematic CI artifactory link and grab the jar from Corda's official Maven repository or GitHub releases page for version 4.1.
  • Always verify file integrity after downloading: Calculate the SHA-256 hash of the jar and compare it to the official checksum (listed alongside the download link). If they don't match, re-download—try a different network or use a download manager to avoid interruptions.

2. Build the Jar Yourself (Foolproof Alternative)

If direct downloads keep failing, build the tool from source using Gradle:

  1. Clone Corda's official repo and check out the 4.1 branch.
  2. Run this command from the root directory:
    ./gradlew :tools:network-builder:shadowJar
    
  3. Once done, you'll find the executable jar (with all dependencies included) at tools/network-builder/build/libs/corda-tools-network-builder-4.1-all.jar.

3. Run Corda Nodes in Docker Properly

Once you have the correct jar, follow these steps to set up and launch nodes:

  1. Generate node configurations with the Network Builder:
    java -jar corda-tools-network-builder-4.1-all.jar -d .
    
  2. Navigate to the generated directory and check the docker-compose.yml file—make sure it has all the required services (Corda nodes, databases, etc.).
  3. Start the containers with:
    docker-compose up -d
    
  4. Verify nodes are running by checking logs:
    docker logs <your-corda-container-name>
    

Quick Tips

  • Ensure your Docker version meets Corda 4.1's requirements (Docker 18.09+ is recommended).
  • Stuck on Network Builder parameters? Run java -jar corda-tools-network-builder-4.1-all.jar --help to see all available options.

内容的提问来源于stack exchange,提问作者Rahul Desai

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.14 08:48:42