0

我尝试遵循 deeplearning4j 的快速入门指南,deeplearning4j.org/quickstart。但是,当我尝试运行“mvn clean install”时,它给了我以下错误:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.
5.1:compile (default-compile) on project dl4j-examples: Compilation failure: Com
pilation failure:
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/PredictGenderTest.java:[8,55] package
org.apache.lucene.queryparser.flexible.messages does not exist
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/PredictGenderTest.java:[9,37] package
org.canova.api.records.reader does not exist
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/PredictGenderTest.java:[10,42] package
 org.canova.api.records.reader.impl does not exist
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/PredictGenderTest.java:[11,28] package
 org.canova.api.split does not exist
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/PredictGenderTest.java:[12,42] package
 org.deeplearning4j.datasets.canova does not exist
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/GenderRecordReader.java:[19,34] packag
e jdk.internal.util.xml.impl does not exist
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/GenderRecordReader.java:[20,56] packag
e org.apache.lucene.queryparser.flexible.core.util does not exist
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/GenderRecordReader.java:[21,30] packag
e org.apache.lucene.util does not exist
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :dl4j-examples

我还将 pom.xml 中的 java 版本标记从 1.7 更改为 1.8。我也使用window 7 64位。

4

1 回答 1

0

这已得到修复。请重新克隆您的示例。

于 2016-11-27T13:17:07.983 回答