Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion problem getting sbt 0.11.2/Lift 2.4/Jetty initially set up
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Olek Swirski  
View profile  
 More options Apr 12 2012, 10:16 pm
From: Olek Swirski <olekswir...@gmail.com>
Date: Fri, 13 Apr 2012 04:16:46 +0200
Local: Thurs, Apr 12 2012 10:16 pm
Subject: Re: [Lift] problem getting sbt 0.11.2/Lift 2.4/Jetty initially set up

I also had same problem with the latest 8.1.2, but the 8.1.0 makes no
trouble, try:

"org.eclipse.jetty" % "jetty-webapp" % "8.1.0.v20120127" % "test,
container", // For Jetty 8

On 12/04/12 04:14, Toby Thain wrote:

> On Sunday, 8 April 2012 22:28:28 UTC-4, fmpwizard wrote:

>     could you post your build.sbt file too?

> Thanks for the replies, everyone.

> I did get this working, but only with Jetty 6. Here is my build.sbt
> with the working configuration. Commented out are the configurations
> which fail (Jetty 7 and Jetty 8).

> name := "xx-API"

> version := "0.1"

> libraryDependencies += "org.scalaquery" % "scalaquery_2.9.0-1" % "0.9.5"

> seq(webSettings: _*)

> // using 0.2.4+ of the sbt web plugin
> scanDirectories in Compile := Nil

> resolvers ++= Seq(
>   //"Scala Tools Releases" at "http://scala-tools.org/repo-releases/",
>   "Java.net Maven2 Repository" at "http://download.java.net/maven/2/",
>   "Jetty Eclipse" at "http://repo1.maven.org/maven2/"
> )

> libraryDependencies ++= {
>   val liftVersion = "2.4" // Put the current/latest lift version here
>   Seq(
>     "net.liftweb" %% "lift-webkit" % liftVersion % "compile->default",
>     "net.liftweb" %% "lift-mapper" % liftVersion % "compile->default",
>     "net.liftweb" %% "lift-wizard" % liftVersion % "compile->default"
>   )
> }

> libraryDependencies ++= Seq(
>   // see http://docs.codehaus.org/display/JETTY/Downloading+Jetty for
> Jetty versions
>   //"org.eclipse.jetty" % "jetty-webapp" % "8.1.2.v20120308" %
> "container",  // Does not work :(
>   //"org.eclipse.jetty" % "jetty-webapp" % "7.6.2.v20120308 " %
> "container", // Does not work
>   "org.mortbay.jetty" % "jetty" % "6.1.26" % "container",
>   "junit" % "junit" % "4.7" % "test",
>   "ch.qos.logback" % "logback-classic" % "0.9.26"
>   //"org.scala-tools.testing" %% "specs" % "1.6.8" % "test"
>   //"mysql" % "mysql-connector-java" % "5.1.18"
> )

>     Diego
>     Sent from my android cell

>     On Apr 8, 2012 7:18 PM, "Toby Thain" <t...@telegraphics.com.au
>     <mailto:t...@telegraphics.com.au>> wrote:

>         Hi,

>         Not really a Lift problem but more an sbt/Jetty problem, but
>         hoping someone here might have hit this and knows how to solve it.

>         Running sbt I see this:

>         [info] Resolving
>         org.eclipse.jetty#jetty-webapp;7.6.2.v20120308 ...
>         [info] Resolving org.eclipse.jetty#jetty-xml;7.6.2.v20120308 ...
>         [info] Resolving org.eclipse.jetty#jetty-util;7.6.2.v20120308 ...
>         [info] Resolving
>         org.eclipse.jetty#jetty-servlet;7.6.2.v20120308 ...
>         [info] Resolving
>         org.eclipse.jetty#jetty-security;7.6.2.v20120308 ...
>         [info] Resolving
>         org.eclipse.jetty#jetty-server;7.6.2.v20120308 ...
>         [info] Resolving
>         org.eclipse.jetty.orbit#javax.servlet;2.5.0.v201103041518 ...
>         [info] Resolving
>         org.eclipse.jetty#jetty-continuation;7.6.2.v20120308 ...
>         [info] Resolving org.eclipse.jetty#jetty-http;7.6.2.v20120308 ...
>         [info] Resolving org.eclipse.jetty#jetty-io;7.6.2.v20120308 ...
>         [warn]     [NOT FOUND  ]
>         org.eclipse.jetty.orbit#javax.servlet;2.5.0.v201103041518!javax.servlet.orb it
>         (22ms)
>         [warn] ==== Jetty Eclipse: tried
>         [warn]
>         http://repo1.maven.org/maven2/org/eclipse/jetty/orbit/javax.servlet/2...
>         <http://repo1.maven.org/maven2/org/eclipse/jetty/orbit/javax.servlet/2...>
>         [warn]     ::::::::::::::::::::::::::::::::::::::::::::::
>         [warn]     ::              FAILED DOWNLOADS            ::
>         [warn]     :: ^ see resolution messages for details  ^ ::
>         [warn]     ::::::::::::::::::::::::::::::::::::::::::::::
>         [warn]     ::
>         org.eclipse.jetty.orbit#javax.servlet;2.5.0.v201103041518!javax.servlet.orb it
>         [warn]     ::::::::::::::::::::::::::::::::::::::::::::::
>         [error]
>         {file:/Users/toby/Documents/flikz/api/}default-6dcebb/*:update: sbt.ResolveException:
>         download failed:
>         org.eclipse.jetty.orbit#javax.servlet;2.5.0.v201103041518!javax.servlet.orb it

>         Which appears to be this problem:
>         http://stackoverflow.com/questions/9889674/sbt-jetty-and-servlet-3-0
>         <http://stackoverflow.com/questions/9889674/sbt-jetty-and-servlet-3-0>

>         But the ivyXML workaround posted there doesn't work for me.

>         Anyone solved this?

>         --Toby

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

> --
> 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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.