添加新的 maven 依赖项导致 ArtifactDescriptorException 错误

添加新的 maven 依赖项导致 ArtifactDescriptorException 错误

我正在我的项目中添加一个新的 Maven 依赖项:

<dependency>
        <groupId>org.deeplearning4j</groupId>
        <artifactId>deeplearning4j-ui_2.10</artifactId>
        <version>1.0.0-beta3</version>
</dependency>

添加此内容后,我在 POM 文件的概述页面上出现错误:

ArtifactDescriptorException:无法读取 org.deeplear 的工件描述符

我尝试清理并重新启动项目,但问题并未得到解决。

我怎么解决这个问题?

答案1

我在 deeplearning4j 平台上询问,他们建议使用 Intellij Idea 而不是 Eclipse 重新创建项目。我使用的是 Eclipse,它可能在构建 maven 依赖项时出现问题。当我尝试使用 Intellij 时,问题解决了。

相关内容