我得到這個錯誤,當我運行與碼頭Maven:運行,我想運行一個電梯項目日食,它發生在我身上的macbook以及在PC上:在碼頭上的斯卡拉/電梯錯誤:運行 - maven - 月食
Building FirstLiftweb Project 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-jetty-plugin:6.1.22:run (default-cli) @ FirstLiftweb >>>
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.864s
[INFO] Finished at: Sun Apr 01 17:56:45 CEST 2012
[INFO] Final Memory: 10M/79M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project FirstLiftweb: Could not resolve dependencies for project
net.liftweb:FirstLiftweb:war:0.0.1-SNAPSHOT: Failed to collect dependencies for [net.liftweb:lift-mapper:jar:2.0 (compile), javax.servlet:servlet-api:jar:2.5 (provided),
junit:junit:jar:4.7 (test), org.mortbay.jetty:jetty:jar:[6.1.6,7.0) (test),
org.scala-lang:scala-compiler:jar:2.9.1 (test)]: No versions available
for javax.mail:mail:jar:[1.4,1.4.3) within specified range -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
進出口新的這所以會很好,如果你可以幫助我,希望能有一些提升社區在這裏,我在軌道上和PHP做的Python/Django的紅寶石後只是解除,現在我想去階方式因爲我認爲這是一個非常強大的JVM上運行的語言,它使得它像火箭哈哈一樣快,
謝謝
UPDATE
該解決方案如下解決。我也看到重新啓動我的筆記本電腦後,有更多的選項用maven版本創建升降機項目。首先,我只能選擇net.liftweb,然後net.liftweb 2.9.1基本版,空白版等更舊的版本。 我也不得不用AJDT插件調整eclipse,所以升級的調試工作正常。你必須激活它,然後右鍵點擊項目>配置>轉換爲ajdt,歡呼
是我上傳它等你一分鐘 – BogdanC 2012-04-01 18:24:10
看到我上面的更新。 – 2012-04-01 18:41:29
非常感謝你! – BogdanC 2012-04-02 17:55:55