sbt/sbt-scalariform

java.lang.NoClassDefFoundError: com/typesafe/sbt/SbtScalariform$

Closed this issue · 2 comments

Hi,

I get the following error with sbt-scalariform 1.0.1:

java.lang.NoClassDefFoundError: com/typesafe/sbt/SbtScalariform$

This is with sbt 0.12.2 compiling a scala 2.10.1 project. Any ideas?

Full stack trace:

java.lang.NoClassDefFoundError: com/typesafe/sbt/SbtScalariform$
at $c0f172338cdbd01394fb$.$sbtdef(/Users/anorwell/.sbt/build.sbt:3)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sbt.compiler.Eval.getValue(Eval.scala:129)
at sbt.compiler.Eval$$anonfun$loadPlain$1.apply(Eval.scala:101)
at sbt.compiler.Eval$$anonfun$loadPlain$1.apply(Eval.scala:101)
at sbt.EvaluateConfigurations$$anonfun$evaluateSetting$1.apply(Build.scala:110)
at sbt.EvaluateConfigurations$$anonfun$evaluateSetting$1.apply(Build.scala:108)
at sbt.EvaluateConfigurations$$anonfun$flatten$1$$anonfun$apply$5.apply(Build.scala:95)
at sbt.EvaluateConfigurations$$anonfun$flatten$1$$anonfun$apply$5.apply(Build.scala:95)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:76)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:239)
at scala.collection.immutable.List.flatMap(List.scala:76)
at sbt.EvaluateConfigurations$$anonfun$flatten$1.apply(Build.scala:95)
at sbt.EvaluateConfigurations$$anonfun$flatten$1.apply(Build.scala:95)
at sbt.EvaluateConfigurations$$anonfun$flatten$1$$anonfun$apply$5.apply(Build.scala:95)
at sbt.EvaluateConfigurations$$anonfun$flatten$1$$anonfun$apply$5.apply(Build.scala:95)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:60)
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:239)
at scala.collection.mutable.ArrayBuffer.flatMap(ArrayBuffer.scala:47)
at sbt.EvaluateConfigurations$$anonfun$flatten$1.apply(Build.scala:95)
at sbt.EvaluateConfigurations$$anonfun$flatten$1.apply(Build.scala:95)
at sbt.Load$$anonfun$buildConfigurations$1$$anonfun$9.apply(Load.scala:208)
at sbt.Load$$anonfun$buildConfigurations$1$$anonfun$9.apply(Load.scala:200)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.immutable.MapLike$$anon$2$$anonfun$foreach$3.apply(MapLike.scala:109)
at scala.collection.immutable.MapLike$$anon$2$$anonfun$foreach$3.apply(MapLike.scala:109)
at scala.collection.immutable.Map$Map1.foreach(Map.scala:119)
at scala.collection.immutable.MapLike$$anon$2.foreach(MapLike.scala:109)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:239)
at scala.collection.immutable.MapLike$$anon$2.flatMap(MapLike.scala:108)
at sbt.Load$$anonfun$buildConfigurations$1.apply(Load.scala:200)
at sbt.Load$$anonfun$buildConfigurations$1.apply(Load.scala:195)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:60)
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:239)
at scala.collection.mutable.ArrayBuffer.flatMap(ArrayBuffer.scala:47)
at sbt.Load$.buildConfigurations(Load.scala:195)
at sbt.Load$.apply(Load.scala:127)
at sbt.Load$.defaultLoad(Load.scala:39)
at sbt.BuiltinCommands$.doLoadProject(Main.scala:407)
at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:401)
at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:401)
at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:60)
at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:60)
at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
at sbt.Command$.process(Command.scala:90)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
at sbt.State$$anon$2.process(State.scala:170)
at sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
at sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.MainLoop$.next(MainLoop.scala:71)
at sbt.MainLoop$.run(MainLoop.scala:64)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:53)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:50)
at sbt.Using.apply(Using.scala:25)
at sbt.MainLoop$.runWithNewLog(MainLoop.scala:50)
at sbt.MainLoop$.runAndClearLast(MainLoop.scala:33)
at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:17)
at sbt.MainLoop$.runLogged(MainLoop.scala:13)
at sbt.xMain.run(Main.scala:26)
at xsbt.boot.Launch$.run(Launch.scala:55)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
at xsbt.boot.Launch$.launch(Launch.scala:69)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Boot$.runImpl(Boot.scala:31)
at xsbt.boot.Boot$.main(Boot.scala:20)
at xsbt.boot.Boot.main(Boot.scala)
Caused by: java.lang.ClassNotFoundException: com.typesafe.sbt.SbtScalariform$
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at $c0f172338cdbd01394fb$.$sbtdef(/Users/anorwell/.sbt/build.sbt:3)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sbt.compiler.Eval.getValue(Eval.scala:129)
at sbt.compiler.Eval$$anonfun$loadPlain$1.apply(Eval.scala:101)
at sbt.compiler.Eval$$anonfun$loadPlain$1.apply(Eval.scala:101)
at sbt.EvaluateConfigurations$$anonfun$evaluateSetting$1.apply(Build.scala:110)
at sbt.EvaluateConfigurations$$anonfun$evaluateSetting$1.apply(Build.scala:108)
at sbt.EvaluateConfigurations$$anonfun$flatten$1$$anonfun$apply$5.apply(Build.scala:95)
at sbt.EvaluateConfigurations$$anonfun$flatten$1$$anonfun$apply$5.apply(Build.scala:95)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:76)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:239)
at scala.collection.immutable.List.flatMap(List.scala:76)
at sbt.EvaluateConfigurations$$anonfun$flatten$1.apply(Build.scala:95)
at sbt.EvaluateConfigurations$$anonfun$flatten$1.apply(Build.scala:95)
at sbt.EvaluateConfigurations$$anonfun$flatten$1$$anonfun$apply$5.apply(Build.scala:95)
at sbt.EvaluateConfigurations$$anonfun$flatten$1$$anonfun$apply$5.apply(Build.scala:95)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:60)
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:239)
at scala.collection.mutable.ArrayBuffer.flatMap(ArrayBuffer.scala:47)
at sbt.EvaluateConfigurations$$anonfun$flatten$1.apply(Build.scala:95)
at sbt.EvaluateConfigurations$$anonfun$flatten$1.apply(Build.scala:95)
at sbt.Load$$anonfun$buildConfigurations$1$$anonfun$9.apply(Load.scala:208)
at sbt.Load$$anonfun$buildConfigurations$1$$anonfun$9.apply(Load.scala:200)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.immutable.MapLike$$anon$2$$anonfun$foreach$3.apply(MapLike.scala:109)
at scala.collection.immutable.MapLike$$anon$2$$anonfun$foreach$3.apply(MapLike.scala:109)
at scala.collection.immutable.Map$Map1.foreach(Map.scala:119)
at scala.collection.immutable.MapLike$$anon$2.foreach(MapLike.scala:109)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:239)
at scala.collection.immutable.MapLike$$anon$2.flatMap(MapLike.scala:108)
at sbt.Load$$anonfun$buildConfigurations$1.apply(Load.scala:200)
at sbt.Load$$anonfun$buildConfigurations$1.apply(Load.scala:195)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:60)
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:239)
at scala.collection.mutable.ArrayBuffer.flatMap(ArrayBuffer.scala:47)
at sbt.Load$.buildConfigurations(Load.scala:195)
at sbt.Load$.apply(Load.scala:127)
at sbt.Load$.defaultLoad(Load.scala:39)
at sbt.BuiltinCommands$.doLoadProject(Main.scala:407)
at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:401)
at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:401)
at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:60)
at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:60)
at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
at sbt.Command$.process(Command.scala:90)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
at sbt.State$$anon$2.process(State.scala:170)
at sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
at sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.MainLoop$.next(MainLoop.scala:71)
at sbt.MainLoop$.run(MainLoop.scala:64)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:53)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:50)
at sbt.Using.apply(Using.scala:25)
at sbt.MainLoop$.runWithNewLog(MainLoop.scala:50)
at sbt.MainLoop$.runAndClearLast(MainLoop.scala:33)
at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:17)
at sbt.MainLoop$.runLogged(MainLoop.scala:13)
at sbt.xMain.run(Main.scala:26)
at xsbt.boot.Launch$.run(Launch.scala:55)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
at xsbt.boot.Launch$.launch(Launch.scala:69)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Boot$.runImpl(Boot.scala:31)
at xsbt.boot.Boot$.main(Boot.scala:20)
at xsbt.boot.Boot.main(Boot.scala)

Is this still relevant?

Closing because no activity / no response.