2016-11-27 101 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

這已修復。請重新列舉你的例子。