缺少 Corda Enterprise 4.0 的咖啡因依赖性
Missing caffeine dependency for Corda Enterprise 4.0
第一次尝试在 Corda Enterprise 4.1 上编译我的项目时,出现了缺少依赖项的堆栈跟踪。
如何添加正确的咖啡因依赖性?
Could not resolve all files for configuration ':corda-domain:compileClasspath'.
> Could not find com.github.ben-manes.caffeine:caffeine:2.7.0-r3-fifty.
Searched in the following locations:
file:/C:/Users/syhashmi/.m2/repository/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
file:/C:/Users/syhashmi/.m2/repository/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
https://repo.maven.apache.org/maven2/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
https://repo.maven.apache.org/maven2/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
https://jcenter.bintray.com/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
https://jcenter.bintray.com/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
https://repo1.maven.org/maven2/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
https://repo1.maven.org/maven2/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
https://jitpack.io/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
https://jitpack.io/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
https://repo.spring.io/libs-snapshot/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
https://repo.spring.io/libs-snapshot/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
https://build.shibboleth.net/nexus/content/repositories/releases/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
https://build.shibboleth.net/nexus/content/repositories/releases/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
http://repository.mulesoft.org/releases/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
http://repository.mulesoft.org/releases/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
file:/C:/code-azure/lcacordapp/lib/repository/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
file:/C:/code-azure/lcacordapp/lib/repository/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
Required by:
project :corda-domain > com.r3.corda:corda-core:4.1```
从 Corda Enterprise 4.0 开始,需要编译 Caffeine 的补丁版本。
可以在此处找到有关如何添加此依赖项的文档:https://docs.corda.r3.com/clientrpc.html#connecting-to-a-node-via-rpc
第一次尝试在 Corda Enterprise 4.1 上编译我的项目时,出现了缺少依赖项的堆栈跟踪。
如何添加正确的咖啡因依赖性?
Could not resolve all files for configuration ':corda-domain:compileClasspath'.
> Could not find com.github.ben-manes.caffeine:caffeine:2.7.0-r3-fifty.
Searched in the following locations:
file:/C:/Users/syhashmi/.m2/repository/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
file:/C:/Users/syhashmi/.m2/repository/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
https://repo.maven.apache.org/maven2/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
https://repo.maven.apache.org/maven2/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
https://jcenter.bintray.com/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
https://jcenter.bintray.com/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
https://repo1.maven.org/maven2/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
https://repo1.maven.org/maven2/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
https://jitpack.io/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
https://jitpack.io/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
https://repo.spring.io/libs-snapshot/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
https://repo.spring.io/libs-snapshot/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
https://build.shibboleth.net/nexus/content/repositories/releases/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
https://build.shibboleth.net/nexus/content/repositories/releases/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
http://repository.mulesoft.org/releases/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
http://repository.mulesoft.org/releases/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
file:/C:/code-azure/lcacordapp/lib/repository/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.pom
file:/C:/code-azure/lcacordapp/lib/repository/com/github/ben-manes/caffeine/caffeine/2.7.0-r3-fifty/caffeine-2.7.0-r3-fifty.jar
Required by:
project :corda-domain > com.r3.corda:corda-core:4.1```
从 Corda Enterprise 4.0 开始,需要编译 Caffeine 的补丁版本。
可以在此处找到有关如何添加此依赖项的文档:https://docs.corda.r3.com/clientrpc.html#connecting-to-a-node-via-rpc