首页 > 解决方案 > 我们如何将 Corda Finance Currencies 包含为依赖项?

问题描述

现在 Corda 财务 jar 已拆分为 corda-finance-contracts 和 corda-finance-workflows,如何使用 build.gradle 中的 deployNodes 任务将 corda-finance-currencies 添加到 CorDapp?

现在,当我尝试部署时收到以下错误消息:

Attempted to find dependent attachment for class net/corda/finance/Currencies, but could not find a suitable candidate.

标签: gradledependenciesbuild.gradlecorda

解决方案


您是否正确导入了corda-finance-workflows?因为它的类在那里:

在此处输入图像描述


推荐阅读