It refers to 0.10-SNAPSHOT. I added the
<dependency>
<groupId>net.liftweb</groupId>
<artifactId>lift-util</artifactId>
<version>0.10-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.liftweb</groupId>
<artifactId>lift-webkit</artifactId>
<version>0.10-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.liftweb</groupId>
<artifactId>lift-mapper</artifactId>
<version>0.10-SNAPSHOT</version>
</dependency>
after
<dependency>
<groupId>net.liftweb</groupId>
<artifactId>lift-core</artifactId>
<version>0.10-SNAPSHOT</version>
</dependency>
In the pom.xml
I also edited the Boot.scala file as per a pervious email where you
documented the impact of the changes.
Something is still not quite there as I get the following error:
HTTP ERROR: 500
scala/actors/AbstractActor
RequestURI=/
Caused by:
java.lang.NoClassDefFoundError: scala/actors/AbstractActor at
net.liftweb.http.LiftRules$.rewriteTable(LiftRules.scala:372) at
net.liftweb.http.LiftFilterTrait$$anonfun$doFilter
$1.apply(LiftServlet.scala:480) at net.liftweb.http.LiftFilterTrait$
$anonfun$doFilter$1.apply(LiftServlet.scala:476) at
net.liftweb.http.RequestVarHandler$$anonfun$apply$3$$anonfun$apply$4$
$anonfun$apply$5.apply(Vars.scala:150) at
net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:33) at
net.liftweb.http.RequestVarHandler$$anonfun$apply$3$$anonfun$apply
$4.apply(Vars.scala:149) at
net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:33) at
net.liftweb.http.RequestVarHandler$$anonfun$apply$3.apply(Vars.scala:
148) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:33) at
net.liftweb.http.RequestVarHandler$.apply(Vars.scala:147) at
net.liftweb.http.LiftFilterTrait$class.doFilter(LiftServlet.scala:475)
at net.liftweb.http.LiftFilter.doFilter(LiftServlet.scala:496) at
org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1115) at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
361) at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216) at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181) at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
766) at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
at
org
.mortbay
.jetty
.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:
230) at
org
.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:
114) at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152) at org.mortbay.jetty.Server.handle(Server.java:324) at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
534) at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:864) at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533) at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) at
org
.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
409) at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:522)
On 24/12/2008, at 9:09 AM, David Pollak wrote:
> Marc,
>
> Does the pom.xml file refer to Lift 0.9 or 0.10-SNAPSHOT?
>
> Thanks,
>
> David
>
> On Tue, Dec 23, 2008 at 2:00 PM, Marc Boschma <marc
> [email protected]> wrote:
> I was just trying out the Little Lift example and noticed that the
> archetype:generate lift-archetype-basic created an old pom.xml and
> Boot.scala that was pre the changes that removed
> LiftRules.addTemplateBefore(User.templates) and
> S.addArround(User.requestLoans) lines of Boot.scala...
>
> Is there any reason why that would have occurred? I assumed that it
> would have changed with those other changes. I did delete all my .m2
> repository just in case. Didn't change anything...
>
> Regards,
>
> Marc
>
> On 15/12/2008, at 1:43 AM, David Pollak wrote:
>
>> Thanks! I'll make the change.
>>
>> On Sat, Dec 13, 2008 at 7:44 PM, mal3 <[email protected]>
>> wrote:
>>
>> David,
>>
>> I'm not sure where to send feedback on the todo_steps book. I'm
>> working my way through the todo
>> project, and I my feedback may be at times very minor in the
>> interests
>> of doing my bit to help with
>> the final book product.
>>
>> There was a warning with the first mvn command:
>>
>> [INFO] [archetype:create]
>> [WARNING] This goals is deprecated. Please use mvn archetype:generate
>> instead
>>
>> mvn archetype:generate seemed to work just as well. If there's no
>> reason to use create rather than generate,
>> maybe change it to generate in the book.
>>
>> Mal.
>>
>>
>>
>>
>>
>> --
>> Lift, the simply functional web framework http://liftweb.net
>> Collaborative Task Management http://much4.us
>> Follow me: http://twitter.com/dpp
>> Git some: http://github.com/dpp
>>
>>
>>
>
>
>
>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Collaborative Task Management http://much4.us
> Follow me: http://twitter.com/dpp
> Git some: http://github.com/dpp
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---