oluşturmakMaven hatası: Ben Akka Pi java öğreticiler ellerimi çalışıyorum
öğretici
ama her zaman belirtildiği gibi bir maven projesi creaate çalışıyorum Bir maven projesi oluşturmak için komuta giriyorum, bir hata alıyorum. Aşağıda komut ve Hata vardır.
C:\Program Files\akka-2.0.2>mvn archetype:generate \
C:\Program Files\akka-2.0.2>mvn archetype:generate \
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.206s
[INFO] Finished at: Wed Sep 26 02:50:38 BST 2012
[INFO] Final Memory: 11M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM
in this directory (C:\Program Files\akka-2.0.2). Please verify you invoked Mave
n from the correct directory. -> [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/MissingProject
Exception
maven POM dosyası için istiyor gibi görünüyor ama ben projeyi oluşturmadan önce bir POM oluşturmak zorunda tutrials belirtilen edilmez. Ben gerçekten yeni maven çok afedersiniz. Ben maven sürümünü kullanıyorum: 3.0.4 ve akka sürüm 2.0.2 ama öğretici akka sürüm 2.0.1 kullanır ama ben herhangi bir öneri sorun olduğunu düşünmüyorum lütfen.
Eğer
Kullanılacak hangi arketipi (proje türü bir şablon) belirtmeniz gerekir. Eğitmen ihtiyacınız olan hangi arketipten bahseder? –
Bence archetype, quickstart –
'un öğretici komutlarının bir parçası olarak buna bir bakın: C: \ Users \ jboner \ src \ akka \ akka-2.0.1> mvn archetype: create \ -DgroupId = akka.tutorial. first.java \ -DartifactId = akka-tutorial-first-java \ -DarchetypeArtifactId = maven-archetype-hızlı başlama \ -DinteractiveMode = false –