I have this in my master pom.xml file: <repositories> <repository> <id>scala-tools.org</id> <name>Scala-Tools Maven2 Repository</name> <url>http://scala-tools.org/repo-releases</url> </repository> <repository> <id>scala-tools.org</id> <name>Scala-Tools Maven2 Repository</name> <url>http://scala-tools.org/repo-snapshots</url> </repository> </repositories>
<pluginRepositories> <pluginRepository> <id>scala-tools.org</id> <name>Scala-Tools Maven2 Repository</name> <url>http://scala-tools.org/repo-releases</url> </pluginRepository> </pluginRepositories> Is this correct? Am I missing something? Chas. Tim Perrett wrote: > Chas, > > Do you have the scala-tools.org snapshot repo defined in your pom.xml? > > If not, you'll need to add it. then maven will grab it automatically > for you. The other alternative is to build locally from src. If your > not working on the lift codebase, IMO, use the maven snapshots as it's > the most straight forward route. > > Does that make sense? > > Cheers, Tim > > Sent from my iPhone > > On 27 Dec 2008, at 00:25, "Charles F. Munat" <c...@munat.com> wrote: > >> What does it mean when I get this error: >> >> 1) net.liftweb:lift-webkit:jar:0.10-SNAPSHOT >> >> Try downloading the file manually from the project website. >> >> Then, install it using the command: >> mvn install:install-file -DgroupId=net.liftweb >> -DartifactId=lift-webkit -Dversion=0.10-SNAPSHOT -Dpackaging=jar >> -Dfile=/path/to/file >> >> Alternatively, if you host your own repository you can deploy the >> file there: >> mvn deploy:deploy-file -DgroupId=net.liftweb >> -DartifactId=lift-webkit -Dversion=0.10-SNAPSHOT -Dpackaging=jar >> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >> >> Path to dependency: >> 1) com.xxx:yyy-app:war:0.10-SNAPSHOT >> 2) net.liftweb:lift-webkit:jar:0.10-SNAPSHOT >> >> I got this before and got around it by using git and then building and >> installing Lift manually, but shouldn't it be possible to just run >> Maven >> and have it work? Am I doing something wrong? >> >> Chas. >> >> David Pollak wrote: >>> Charles, >>> >>> I did an update to the XML rendering stuff. It looks like half your >>> Lift jars are old and half are new. I'd suggest blowing away your >>> Maven >>> repository and doing a clean build. >>> >>> Thanks, >>> >>> David >>> >>> On Fri, Dec 26, 2008 at 3:15 PM, Charles F. Munat <c...@munat.com >>> <mailto:c...@munat.com>> wrote: >>> >>> >>> Here's a new one I haven't seen before. Are my versions out of >>> whack? >>> Should I be moving up to Scala 2.7.3? What's wrong here? >>> >>> Any ideas? >>> >>> Chas. >>> >>> HTTP ERROR: 500 >>> >>> net.liftweb.util.AltXML$.toXML(Lscala/xml/Node;Lscala/xml/ >>> NamespaceBinding;Lscala/StringBuilder;ZZ)V >>> >>> RequestURI=/ >>> Caused by: >>> >>> java.lang.NoSuchMethodError: >>> net.liftweb.util.AltXML$.toXML(Lscala/xml/Node;Lscala/xml/ >>> NamespaceBinding;Lscala/StringBuilder;ZZ)V >>> at >>> net.liftweb.http.NodeResponse$class.toResponse(XmlResponse.scala: >>> 40) >>> at >>> net.liftweb.http.XhtmlResponse.toResponse(XmlResponse.scala:49) >>> at >>> net.liftweb.http.XhtmlResponse.toResponse(XmlResponse.scala:49) >>> at >>> net.liftweb.http.LiftServlet.doService(LiftServlet.scala:176) >>> at >>> net.liftweb.http.LiftServlet$$anonfun$doIt >>> $1$1.apply(LiftServlet.scala:97) >>> at >>> net.liftweb.http.LiftServlet$$anonfun$doIt >>> $1$1.apply(LiftServlet.scala:97) >>> at >>> net.liftweb.util.TimeHelpers$class.calcTime(TimeHelpers.scala:242) >>> at net.liftweb.util.Helpers$.calcTime(Helpers.scala:29) >>> at >>> net.liftweb.util.TimeHelpers$class.logTime(TimeHelpers.scala:251) >>> at net.liftweb.util.Helpers$.logTime(Helpers.scala:29) >>> at net.liftweb.http.LiftServlet.doIt$1(LiftServlet.scala: >>> 96) >>> at net.liftweb.http.LiftServlet.service(LiftServlet.scala: >>> 105) >>> at >>> net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1$$anonfun >>> $apply$18.apply(LiftServlet.scala:483) >>> at >>> net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1$$anonfun >>> $apply$18.apply(LiftServlet.scala:483) >>> at >>> net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:33) >>> at net.liftweb.http.URLRewriter$.doWith(Req.scala:370) >>> at >>> net.liftweb.http.LiftFilterTrait$$anonfun$doFilter >>> $1.apply(LiftServlet.scala:482) >>> 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) >>> >>> >>> >>> >>> >>> -- >>> 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 liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---