【发布时间】:2020-10-08 11:17:42
【问题描述】:
这是文件:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.example</groupId>
<artifactId>neural</artifactId>
<dependencies>
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-core</artifactId>
<version>1.0.0-beta7</version>
</dependency>
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>nd4j-native-platform</artifactId>
<version>1.0.0-beta7</version>
</dependency>
</dependencies>
</project>
我正在尝试添加deeplearning4j
我遇到的错误是(我在 IntelliJ 中工作):
<project" has a red underline saying "For artifact {org.example:neural:null:jar}: The version cannot be empty.
<artifactId>nd4j-native-platform</artifactId> <version>1.0.0-beta7</version>" is red, saying "Dependency 'org.nd4j:nd4j-native-platform:1.0.0-beta7' not found
感谢您的帮助。
【问题讨论】:
-
你能在普通命令行上执行构建吗...?
标签: java maven intellij-idea deeplearning4j