[Lift] Re: AbstractMethodError

2008-09-20 Thread Ian Clarke

On Sat, Sep 20, 2008 at 10:00 AM, Marius [EMAIL PROTECTED] wrote:
 What scala version are you using?

Installed on my computer (not sure if this is used by the Eclipse plugin):

$ scala -version
Scala code runner version 2.7.2.RC1 -- Copyright 2002-2008, LAMP/EPFL

I'm using yesterday's nightly version of the Eclipse Scala plugin :
2.7.2.r16127-b20080919011543

 Did you try mvn clean:clean
 install ?

I tried:

$ mvn clean:clean install

This did not appear to fix the problem :-(

Ian.

-- 
Ian Clarke
CEO, Uprizer Labs
Email: [EMAIL PROTECTED]
Cell: +1 512 422 3588

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
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
-~--~~~~--~~--~--~---



[Lift] Re: AbstractMethodError

2008-09-20 Thread David Pollak
Using Eclipse.

If you're using Eclipse to compile your project, then you're using Scala 
2.7.2-RC1/2 which has different method signatures than the version that 
Lift is compiled against: 2.7.1

So, please exit Eclipse, got into your project directory and type: mvn 
clean jetty:run and see if the problem goes away.

Ian Clarke wrote:
 I'm getting an AbstractMethodError and a bunch of NoClassDefFoundError
 exceptions - can anyone suggest what the problem might be?

 Regards,

 Ian.

 2008-09-20 09:28:35.164::INFO:  Logging to STDERR via 
 org.mortbay.log.StdErrLog
 2008-09-20 09:28:35.209::INFO:  jetty-6.1.11
   
 STARTING EMBEDDED JETTY SERVER, PRESS ANY KEY TO STOP
 
 2008-09-20 09:28:35.334::INFO:  NO JSP Support for /, did not find
 org.apache.jasper.servlet.JspServlet
 2008-09-20 09:28:36.842::INFO:  Started [EMAIL PROTECTED]:8080
 2008-09-20 09:28:46.623::WARN:  Error for /
 java.lang.AbstractMethodError:
 net.liftweb.http.SessionMaster$.mailbox_$eq(Lscala/actors/MessageQueue;)V
   at scala.actors.Actor$class.$init$(Actor.scala:365)
   at net.liftweb.http.SessionMaster$.init(LiftSession.scala:59)
   at net.liftweb.http.SessionMaster$.clinit(LiftSession.scala)
   at net.liftweb.http.LiftRules$.rewriteTable(LiftRules.scala:311)
   at net.liftweb.http.LiftFilter.doFilter(LiftServlet.scala:403)
   at 
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
   at 
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
   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:729)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
   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:505)
   at 
 org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
   at 
 org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
   at 
 org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
 2008-09-20 09:28:46.689::WARN:  Error for /favicon.ico
 java.lang.NoClassDefFoundError: Could not initialize class
 net.liftweb.http.SessionMaster$
   at net.liftweb.http.LiftRules$.rewriteTable(LiftRules.scala:311)
   at net.liftweb.http.LiftFilter.doFilter(LiftServlet.scala:403)
   at 
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
   at 
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
   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:729)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
   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:505)
   at 
 org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
   at 
 org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
   at 
 org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
 2008-09-20 09:28:49.596::WARN:  Error for /favicon.ico
 java.lang.NoClassDefFoundError: Could not initialize class
 net.liftweb.http.SessionMaster$
   at net.liftweb.http.LiftRules$.rewriteTable(LiftRules.scala:311)
   at net.liftweb.http.LiftFilter.doFilter(LiftServlet.scala:403)
   at 
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
   at 
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
   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:729)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
   at 
 

[Lift] Comet and Flot

2008-09-20 Thread Bryan

I am interested in adding some (almost) real-time charts to a project
of mine.  I have a couple of questions, though.

1) Is there documentation on lift's server and client implementation
of comet available online?
2) Are there any reasons why dojo's comet client wasn't considered?
3) I see that there is a flot widget that will be integrated into lift
soon.  What benefits do these widgets offer over a normal JavaScript
implementation?
4) I have an immutable Map of data that I need to push to the JQuery
chart.  Where should I begin?  Do I send this in JSON format?

A lot of questions, I know!

p.s. I am loving lift so far.  Great work.  The CometActor tutorial
was very useful as well.

Thanks,
Bryan

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
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
-~--~~~~--~~--~--~---



[Lift] Re: Many to many in Lift mapper

2008-09-20 Thread Martin Ellis

On Sat, Sep 20, 2008 at 10:01 PM, Charles F. Munat [EMAIL PROTECTED] wrote:
 I can't find any examples of a many-to-many relationship using Lift's
 mapper. Am I missing one? How does one map two classes in a many-to-many
 bidirectional relationship?

Using the HasManyThrough class:

http://liftweb.net/index.php/HowTo_setup_composite_keys

Martin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
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
-~--~~~~--~~--~--~---



[Lift] Re: JPA and enumerations

2008-09-20 Thread Jorge Ortiz

On Sat, Sep 20, 2008 at 9:14 AM, Oliver Lambert [EMAIL PROTECTED] wrote:

 I need this too so I might have a go at implementing it. Does lift persist
 enumerations (cant see a mapper it)

There's a MappedEnum class in MappedInt.scala

--j

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
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
-~--~~~~--~~--~--~---