"org.eclipse.jetty.orbit" % "javax.servlet" % "3.0.0.v201112011016" % "container,test,compile" artifacts Artifact("javax.servlet", "jar", "jar"),
(although, I don't fully understand why).
Worth changing in the Lift 2.5 getting started templates? Should I open a ticket?
Damian.
--Damian.
--
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
class HelloWorldTestSpecs extends Specification {
val server = new Server
val scc = new SelectChannelConnector
scc.setPort(8080)
server.setConnectors(Array(scc))
val context = new WebAppContext() // this line breaks it
If I change the test to a 'ScalaTest' one, it works fine - so I guess it's pointing to a clash between Specs2 and Jetty8
Here's a repo demonstrating the problem:
https://github.com/dph01/lift-jetty-test
@jeppe - I can recreate the problem from lift_25_sbt/lift_basic without adding any other dependencies.
I'll carry on looking into it, but if anyone has any ideas in the meantime, please shout.
Thanks
Damian.