This is not the first time this has cropped up, you may have to sticky
warning not to use 2.8 with Lift for the moment.

On Dec 23, 2:55 pm, David Pollak <[email protected]>
wrote:
> Lift *DOES NOT* work on Scala 2.8 Beta1 RC4 & 5.  Do not even try it.  We
> are currently working with EPFL to resolve these issues.
>
> Lift 1.1-M8 and Lift 1.1-SNAPSHOT only work with Scala 2.7.7.  That is the
> *only* version of Scala that Lift 1.1-M8 and SNAPSHOT work with.  If you
> have any other version of Scala specified in your pom.xml file, it will not
> work.
>
> Do not try to mix different versions of Lift in the same web app.  The class
> loader will not know which versions of the Lift library go with different
> Servlets.
>
> Once you get your pom.xml file set up with Scala 2.7.7, then you must do a
> "mvn -U clean install" before doing an mvn jetty:run
>
>
>
> On Tue, Dec 22, 2009 at 7:39 PM, Alan M <[email protected]> wrote:
> > Update:
>
> > I updated the other servlet to scala 2.8 and lift 1.1 snapshot (much
> > easier than I thought, I must be getting used to it) and I checked the
> > libs for both webapps and the commons lib directory.. no conflicting
> > versions of scala or lift jars.. I'm on Tomcat 6 btw..  Not sure where
> > to look next..
>
> > Alan
>
> > On Dec 22, 7:13 pm, Ross Mellgren <[email protected]> wrote:
> > > Where do you have the scala library jars? If you haven't taken pains to
> > ensure that you have two entirely separate scala JARs (2.7.3 and 2.8) in two
> > separate classloaders I could believe that you'll get all kinds of problems
> > like this. You might be better served using two separate tomcat instances
> > and some kind of reverse proxy like nginx to ensure they remain entirely
> > separated.
>
> > > -Ross
>
> > > On Dec 22, 2009, at 10:07 PM, Alan M wrote:
>
> > > > I get this message when it tries to initialize the LiftFilter..
>
> > > > Dec 22, 2009 6:53:40 PM org.apache.catalina.core.StandardContext
> > > > filterStart
> > > > SEVERE: Exception starting filter LiftFilter
> > > > java.lang.NoSuchMethodError: scala.collection.SeqLike.projection()
> > > > Ljava/lang/Object;
> > > >        at net.liftweb.util.ListHelpers$class.first(ListHelpers.scala:
> > > > 53)
> > > >        at net.liftweb.util.Helpers$.first(Helpers.scala:32)
> > > >        at net.liftweb.util.LogBoot$.findTheFile$1(Log.scala:117)
> > > >        at net.liftweb.util.LogBoot$._log4JSetup(Log.scala:119)
> > > >        at net.liftweb.util.LogBoot$$anonfun$1.apply(Log.scala:97)
> > > >        at net.liftweb.util.LogBoot$$anonfun$1.apply(Log.scala:97)
> > > >        at net.liftweb.util.LogBoot$.checkConfig(Log.scala:95)
> > > >        at net.liftweb.util.LogBoot$.net$liftweb$util$LogBoot$$_logger
> > > > (Log.scala:141)
> > > >        at net.liftweb.util.LogBoot$$anonfun$2.apply(Log.scala:143)
> > > >        at net.liftweb.util.LogBoot$$anonfun$2.apply(Log.scala:143)
> > > >        at net.liftweb.util.Log$.rootLogger(Log.scala:27)
> > > >        at net.liftweb.util.Log$.error(Log.scala:43)
> > > >        at net.liftweb.http.provider.HTTPProvider$class.bootLift
> > > > (HTTPProvider.scala:80)
> > > >        at net.liftweb.http.LiftFilter.bootLift(LiftServlet.scala:524)
> > > >        at net.liftweb.http.provider.servlet.ServletFilterProvider
> > > > $class.init(ServletFilterProvider.scala:23)
> > > >        at net.liftweb.http.LiftFilter.init(LiftServlet.scala:524)
>
> > > > Are multiple versions of Scala or Lift getting messed up here?  I have
> > > > two different Lift based servlets on this tomcat, one with Scala 2.7.3
> > > > and an older lift version and one with Scala 2.8 and the newest lift
> > > > version..
>
> > > > I guess I'm just trying to avoid updating that other servlet because
> > > > it's really not in my schedule right now..  Then again that might not
> > > > be the problem at all..
>
> > > > Alan
>
> > > > --
>
> > > > 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]<liftweb%[email protected]>
> > .
> > > > For more options, visit this group athttp://
> > groups.google.com/group/liftweb?hl=en.
>
> > --
>
> > 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]<liftweb%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/liftweb?hl=en.
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Surf the harmonics

--

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.


Reply via email to