我正在使用Gridgain 6.0并尝试在入门教程中运行Gridgain Compute Application。我得到了一个ClassNotFoundException,抱怨无法找到org.gridgain.grid.util.ConcurrentHashMap8。班级在哪里?
答案 0 :(得分:1)
ConcurrentHashMap8是来自jdk8-backport库的类(GridGain库,带有一些来自JDK8代码库的反向移植类)。它可以在GridGain Nexus存储库http://www.gridgainsystems.com:8085/nexus/content/repositories/external
中找到您可以使用maven自动解析所有依赖项,只需添加存储库链接并指定您要使用的GridGain版本(" gridgain-platform"如果是此代码段):
<repository>
<id>GridGain External Repository</id>
<url>http://www.gridgainsystems.com:8085/nexus/content/repositories/external</url>
</repository>
<dependency>
<groupId>org.gridgain</groupId>
<artifactId>gridgain-platform</artifactId>
<version>6.0.1</version>
</dependency>