2016-11-27 44 views
0

我尝试按照deeplearning4j,deeplearning4j.org/quickstart上的快速入门指南进行操作。然而,当我尝试运行“命令mvn全新安装”,它给我以下错误:尝试第一次使用deeplearning4j,但它不起作用

[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 

我也改变了Java版本标签内的pom.xml为1.7〜1.8。我也使用窗口7 64位。

+0

你可以发布你刚刚完成的步骤吗? – Tunaki

+0

首先我通过“git clone https://github.com/deeplearning4j/dl4j-examples.git”克隆它。然后,我输入“cd dl4j-examples /”。然后我使用“mvn clean install”。这与快速启动完全相同。 – MakaraPr

+0

这已修复。谢谢!请再做一次拉。 –

回答

0

这已修复。请重新列举你的例子。

相关问题