0

我正在使用 Gridgain 6.0 并尝试在入门教程中运行 Gridgain 计算应用程序。我收到了 ClassNotFoundException,抱怨找不到 org.gridgain.grid.util.ConcurrentHashMap8。上课地点在哪里?

4

1 回答 1

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>
于 2014-03-17T09:21:43.137 回答