Lifty/Lifty-engine — Issue #1: [error] java.lang.NoSuchMethodError: sbt.Scoped$.richSettingListScoped(Lsbt/ScopedSetting;)Lsbt/Scoed$RichSettingList;
Author: ghorsey
Created: 2011-11-03 16:50:23+00:00
State: open

I'm using sbt 0.11 and scala version 2.9.1. I added the librarydependencies to the ~/.sbt/plugin/build.sbt as mentioned in read me.

(I'm new to the scala/java world so I don't know if this error is because of a step I missed or if it's a problem w/ the plugin running on sbt 0.11 and scala 2.9.1).

Here's the output from the error:
======================================
D:\Learning\lifty>java -Xmx512M -jar "C:\SBT\sbt-launch.jar"
[info] Loading global plugins from D:\Users\Geoff\.sbt\plugins
[error] java.lang.NoSuchMethodError: sbt.Scoped$.richSettingListScoped(Lsbt/ScopedSetting;)Lsbt/Scoed$RichSettingList;
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? l
[info] Loading global plugins from D:\Users\Geoff\.sbt\plugins
[debug]
[debug] Initial source changes:
[debug] removed:Set()
[debug] added: Set()
[debug] modified: Set()
[debug] Removed products: Set()
[debug] Modified external sources: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set()
[debug]
[debug] Sources indirectly invalidated by:
[debug] product: Set()
[debug] binary dep: Set()
[debug] external source: Set()
[debug] Initially invalidated: Set()
[debug] Copy resource mappings:
[debug]
[debug] Other repositories:
[debug] Default repositories:
[debug] URLRepository(typesafe-ivy-releases,sbt.Patterns@50ae8e0e)
[debug] Raw(ProjectResolver(inter-project, mapped: ))
[debug] FileRepository(local,FileConfiguration(true,None),sbt.Patterns@712beb60)
[debug] public: http://repo1.maven.org/maven2/
[debug] Scala-Tools Maven2 Repository: http://scala-tools.org/repo-releases
[debug] Using inline dependencies specified in Scala.
[debug] post 1.3 ivy file: using exact as default matcherjava.lang.NoSuchMethodError: sbt.Scoped$.richSettingListScoped(Lsbt/ScopedSetting;)Lsbt/Scoped$RichettingList;
at org.lifty.Lifty$.settings(Lifty.scala:16)
at sbt.Load$.loadPlugin(Load.scala:497)
at sbt.Load$$anonfun$loadPlugins$1.apply(Load.scala:494)
at sbt.Load$$anonfun$loadPlugins$1.apply(Load.scala:494)
at scala.collection.immutable.Stream.flatMap(Stream.scala:213)
at sbt.Load$.loadPlugins(Load.scala:494)
at sbt.Load$.loadPlugins(Load.scala:480)
at sbt.Load$.loadPluginDefinition(Load.scala:436)
at sbt.Load$.noPlugins(Load.scala:429)
at sbt.Load$.plugins(Load.scala:422)
at sbt.Load$.loadUnitNew(Load.scala:380)
at sbt.Load$.loadUnit(Load.scala:375)
at sbt.Load$$anonfun$10.apply(Load.scala:229)
at sbt.Load$$anonfun$10.apply(Load.scala:229)
at sbt.BuildLoader.apply(BuildLoader.scala:17)
at sbt.Load$.loadAll(Load.scala:281)
at sbt.Load$.loadURI(Load.scala:238)
at sbt.Load$.load(Load.scala:234)
at sbt.Load$.load(Load.scala:232)
at sbt.Load$.apply(Load.scala:118)
at sbt.Load$.defaultLoad(Load.scala:36)
at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:448)
at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:445)
at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:61)
at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:61)
at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:63)
at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:63)
at sbt.Command$.process(Command.scala:91)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(Main.scala:86)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(Main.scala:86)
at sbt.State$$anon$1.process(State.scala:60)
at sbt.MainLoop$$anonfun$next$1.apply(Main.scala:86)
at sbt.MainLoop$$anonfun$next$1.apply(Main.scala:86)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:13)
at sbt.MainLoop$.next(Main.scala:86)
at sbt.MainLoop$.run(Main.scala:81)
at sbt.MainLoop$$anonfun$runLogged$1.apply(Main.scala:75)
at sbt.MainLoop$$anonfun$runLogged$1.apply(Main.scala:72)
at sbt.Using.apply(Using.scala:25)
at sbt.MainLoop$.runLogged(Main.scala:72)
at sbt.MainLoop$.runLogged(Main.scala:62)
at sbt.xMain.run(Main.scala:33)
at xsbt.boot.Launch$.run(Launch.scala:54)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:43)
at xsbt.boot.Launch$.launch(Launch.scala:68)
at xsbt.boot.Launch$.apply(Launch.scala:14)
at xsbt.boot.Boot$.runImpl(Boot.scala:24)
at xsbt.boot.Boot$.main(Boot.scala:15)
at xsbt.boot.Boot.main(Boot.scala)
[error] java.lang.NoSuchMethodError: sbt.Scoped$.richSettingListScoped(Lsbt/ScopedSetting;)Lsbt/Scoed$RichSettingList;
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? i
[warn] Ignoring load failure: no project loaded.
> about
[info] This is sbt 0.11.0
[info] No project is currently loaded.
[info] sbt, sbt plugins, and build definitions are using Scala 2.9.1
[info] All logging output for this session is available at C:\Users\Geoff\AppData\Local\Temp\sbt834217074484267091.log
>