Re: [Lift] problem with first example in the Lift book

38 views
Skip to first unread message

David Pollak

unread,
Nov 18, 2012, 12:05:28 PM11/18/12
to lif...@googlegroups.com
The scala-tools.org repository is offline and I'm pretty sure we're not publishing the Maven artifacts anymore.

I'd suggest working through Simply Lift (http://simply.liftweb.net) or buying Lift in Action.

On Sun, Nov 18, 2012 at 8:24 AM, Mark Wood-Patrick <mwoodp...@gmail.com> wrote:
I'm starting to work through the examples in the Lift book:

     mvn archetype:generate -U   -DarchetypeGroupId=net.liftweb   -DarchetypeArtifactId=lift-archetype-blank   -DarchetypeVersion=2.0   -DarchetypeRepository=http://scala-tools.org/repo-releases   -DgroupId=demo.helloworld   -DartifactId=helloworld   -Dversion=1.0-SNAPSHOT

and got the following error below, can someone tell me what I'm doing wrong also is there an updated version which works with the current version of the compiler

Downloaded: http://repo.maven.apache.org/maven2/org/scala-lang/scala-compiler/2.7.7/scala-compiler-2.7.7.pom (2 KB at 21.5 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 42.444s
[INFO] Finished at: Sun Nov 18 08:18:13 PST 2012
[INFO] Final Memory: 9M/314M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project helloworld: Could not resolve dependencies for project demo.helloworld:helloworld:war:1.0-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.7.7 (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

--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
 
 
 



--
Telegram, Simply Beautiful CMS https://telegr.am
Lift, the simply functional web framework http://liftweb.net


Reply all
Reply to author
Forward
Message has been deleted
0 new messages