到目前为止,我一直在使用corda模板12.1版本,现在我想迁移到版本1.我已经下载了corda模板v1.0并尝试了构建,但它失败了,错误如下所示。
错误:(97,0)找不到net.corda:corda-core:0.14-SNAPSHOT。 在以下位置搜索: https://repo1.maven.org/maven2/net/corda/corda-core/0.14-SNAPSHOT/maven-metadata.xml https://repo1.maven.org/maven2/net/corda/corda-core/0.14-SNAPSHOT/corda-core-0.14-SNAPSHOT.pom https://repo1.maven.org/maven2/net/corda/corda-core/0.14-SNAPSHOT/corda-core-0.14-SNAPSHOT.jar 文件:/ C:/Users/463193/.m2/repository/net/corda/corda-core/0.14-SNAPSHOT/maven-metadata.xml 文件:/ C:/Users/463193/.m2/repository/net/corda/corda-core/0.14-SNAPSHOT/corda-core-0.14-SNAPSHOT.pom 文件:/ C:/Users/463193/.m2/repository/net/corda/corda-core/0.14-SNAPSHOT/corda-core-0.14-SNAPSHOT.jar https://jcenter.bintray.com/net/corda/corda-core/0.14-SNAPSHOT/maven-metadata.xml https://jcenter.bintray.com/net/corda/corda-core/0.14-SNAPSHOT/corda-core-0.14-SNAPSHOT.pom https://jcenter.bintray.com/net/corda/corda-core/0.14-SNAPSHOT/corda-core-0.14-SNAPSHOT.jar https://dl.bintray.com/kotlin/exposed/net/corda/corda-core/0.14-SNAPSHOT/maven-metadata.xml
要求: project:java-source 打开文件
我尝试安装Corda主repo v1.0,即使抛出错误,说“找不到存储库”。我如何迁移到Corda的v1.0?
答案 0 :(得分:0)
旧的CorDapp模板(包括Java和Kotlin源代码)已被弃用,并且从未更新为Corda v1.0。
相反,我们为v1.0创建了两个单独的模板: