The dirty but easy solution would be to download the jar, create a lib folder at the root of your project and place the jar there.
Regards
Diego
Diego
Sent from my android cell
--
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
could you post your build.sbt file too?
Diego
Sent from my android cell
could you post your build.sbt file too?
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.
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
Regards,
Diego
> --
> 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
--
Diego Medina
Lift/Scala Developer
di...@fmpwizard.com
http://www.fmpwizard.com
which jetty utilities are you trying to use?
You would normally have to add the correct dependencies to your
project, if you are using SBT, there is a build.sbt or build.scala
file you would need to modify, if you are using maven, you modify a
pom.xml file.
org.mortbay.util.UrlEncoded
Regards,
Diego
Diego
Sent from my android cell
On Apr 29, 2012 8:04 PM, "Toby Thain" <to...@telegraphics.com.au> wrote:
>
>
>
> On Tuesday, 24 April 2012 23:50:35 UTC-4, fmpwizard wrote:
>>
>> which jetty utilities are you trying to use?
>> You would normally have to add the correct dependencies to your
>> project, if you are using SBT, there is a build.sbt or build.scala
>> file you would need to modify, if you are using maven, you modify a
>> pom.xml file.
>
>
> My build.sbt is described above.
I'm not sure how you see this email thread, but I just saw one email and no sample build file.
I want to help you but I don't think it's fair for me to have to go and search the mailing list to see where your build file went.
Regards
Diego
The Jetty container is working fine. I am just wondering how I can import a class from Jetty, e.g.
>
> org.mortbay.util.UrlEncoded
>
>
>
>>
>> Regards,
>>
>> Diego
Diego
Sent from my android cell
On Apr 29, 2012 8:04 PM, "Toby Thain" <to...@telegraphics.com.au> wrote:
>
>
>
> On Tuesday, 24 April 2012 23:50:35 UTC-4, fmpwizard wrote:
>>
>> which jetty utilities are you trying to use?
>> You would normally have to add the correct dependencies to your
>> project, if you are using SBT, there is a build.sbt or build.scala
>> file you would need to modify, if you are using maven, you modify a
>> pom.xml file.
>
>
> My build.sbt is described above.I'm not sure how you see this email thread, but I just saw one email and no sample build file.
I want to help you but I don't think it's fair for me to have to go and search the mailing list to see where your build file went.
Hi,
Ok, if you want to access
org.mortbay.util.UrlEncoded
you cannot use
"org.eclipse.jetty" % "jetty-webapp" % "8.1.0.v20120127" % "container",
because org.mortbay is jetty until version 6
So, you will have to downgrade to jetty 6 or see what the new name is
for jetty 8.1
I think the new name is
org.eclipse.jetty.util.UrlEncoding
so try using that name, if that import does not work, you need to add
a dependency that has that class.
Just guesing here, but you can try adding
"org.eclipse.jetty" % "jetty-util" % "8.1.0.v20120127" % "container",
Hi,
Ok, if you want to access
org.mortbay.util.UrlEncoded
you cannot use
"org.eclipse.jetty" % "jetty-webapp" % "8.1.0.v20120127" % "container",
because org.mortbay is jetty until version 6
So, you will have to downgrade to jetty 6 or see what the new name is
for jetty 8.1
I think the new name is
org.eclipse.jetty.util.UrlEncoding
so try using that name, if that import does not work, you need to add
a dependency that has that class.
Just guesing here, but you can try adding
"org.eclipse.jetty" % "jetty-util" % "8.1.0.v20120127" % "container",
On Wednesday, 2 May 2012 21:17:10 UTC-4, fmpwizard wrote:Hi,
Ok, if you want to access
org.mortbay.util.UrlEncoded
you cannot use
"org.eclipse.jetty" % "jetty-webapp" % "8.1.0.v20120127" % "container",
because org.mortbay is jetty until version 6
So, you will have to downgrade to jetty 6 or see what the new name is
for jetty 8.1
I think the new name is
org.eclipse.jetty.util.UrlEncoding
so try using that name, if that import does not work, you need to add
a dependency that has that class.
Just guesing here, but you can try adding
"org.eclipse.jetty" % "jetty-util" % "8.1.0.v20120127" % "container",
This doesn't seem to work. I have the right class name, via:
http://download.eclipse.org/jetty/8.1.0.v20120127/apidocs/
e.g.
import org.eclipse.jetty.util.B64Code
import org.eclipse.jetty.server.handler.ContextHandler
import org.eclipse.jetty.server.nio.SelectChannelConnector
import org.eclipse.jetty.server.{Handler, Server}
import org.eclipse.jetty.webapp.WebAppContext
"net.liftweb" %% "lift-webkit" % liftVersion % "compile",
"net.liftweb" %% "lift-mapper" % liftVersion % "compile",
"net.liftmodules" %% "lift-jquery-module" % (liftVersion + "-1.0"),
"org.eclipse.jetty" % "jetty-webapp" % "8.1.7.v20120910" % "container",
"org.eclipse.jetty.orbit" % "javax.servlet" % "3.0.0.v201112011016" % "container" artifacts Artifact("javax.servlet", "jar", "jar"),
"ch.qos.logback" % "logback-classic" % "1.0.6",
"org.specs2" %% "specs2" % "1.12.1" % "test",
"com.h2database" % "h2" % "1.3.167"
--
--
--