专家和提升使用卡拉2.8:电梯-映射器失踪了?
题
新手的问题,因为我没有达到使用速度 专家。
我试图用斯+电梯使用卡拉2.8,环境 是windows7资框如果该事项。
我创建一个基本的项目使用:
mvn archetype:generate -U -DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype-basic -DarchetypeVersion=2.0-scala280-SNAPSHOT -DarchetypeRepository=http://scala-tools.org/repo-snapshots -DremoteRepositories=http://scala-tools.org/repo-snapshots -DgroupId=com.liftworkshop
-DartifactId=todo -Dversion=1.0-SNAPSHOT
到目前为止好,但后来,我试着要裁谈会进入我的新项目 而这样做:
mvn jetty:run
我之后的好几个人气结束了一个错误,如下:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) net.liftweb:lift-mapper:jar:2.0-scala280-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-mapper -D
version=2.0-scala280-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=net.liftweb -DartifactId=lift-mapper -Dve
rsion=2.0-scala280-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Dr
epositoryId=[id]
Path to dependency:
1) com.liftworkshop:todo:war:1.0-SNAPSHOT
2) net.liftweb:lift-mapper:jar:2.0-scala280-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
com.liftworkshop:todo:war:1.0-SNAPSHOT
from the specified remote repositories:
scala-tools.snapshots (http://scala-tools.org/repo-snapshots),
scala-tools.releases (http://scala-tools.org/repo-releases),
central (http://repo1.maven.org/maven2)
任何想法?
解决方案
我创造了相同的项目使用 mvn archetype:generate
命令你,但我不能再现你的问题。的 lift-mapper-2.0-scala280-SNAPSHOT.jar
神器肯定是在的卡拉 快照库 和家下载:
... 1619K downloaded (lift-mapper-2.0-scala280-SNAPSHOT.jar) [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0c857e2c5de9d5cabb7c972e519528606f19697b'; remote = 'a258cf7d7a49a8d7163d499da06a4d1e231a78e0' - RETRYING Downloading: http://scala-tools.org/repo-snapshots/net/liftweb/lift-mapper/2.0-scala280-SNAPSHOT/lift-mapper-2.0-scala280-SNAPSHOT.jar 1619K downloaded (lift-mapper-2.0-scala280-SNAPSHOT.jar)
正如你可以看到,专家不得不重新下载,因为一个失败的校验和检查,但它的工作。
只是再试一次。
不隶属于 StackOverflow