Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with sbt 1.2.8 #4

Open
b-gyula opened this issue Nov 9, 2019 · 3 comments
Open

Does not work with sbt 1.2.8 #4

b-gyula opened this issue Nov 9, 2019 · 3 comments

Comments

@b-gyula
Copy link

b-gyula commented Nov 9, 2019

Config
scalaVersion := "2.12.9"
sbt.version=1.2.8

Might be related to sbt/sbt#5049

Error on load
java.lang.NoSuchMethodError: sbt.package$.singleFileJsonFormatter()Lsjsonnew/JsonFormat;

Details

[info] Loading project definition from D:\dev\trdq\project [error] java.lang.NoSuchMethodError: sbt.package$.singleFileJsonFormatter()Lsjsonnew/JsonFormat; [error] at com.permutive.sbtliquibase.Import$.<init>(SbtLiquibase.scala:55) [error] at com.permutive.sbtliquibase.Import$.<clinit>(SbtLiquibase.scala) [error] at com.permutive.sbtliquibase.SbtLiquibase$.<init>(SbtLiquibase.scala:76) [error] at com.permutive.sbtliquibase.SbtLiquibase$.<clinit>(SbtLiquibase.scala) [error] at java.lang.Class.forName0(Native Method) [error] at java.lang.Class.forName(Class.java:348) [error] at sbt.internal.inc.ModuleUtilities$.getObject(ModuleUtilities.scala:20) [error] at sbt.internal.inc.ModuleUtilities$.getCheckedObject(ModuleUtilities.scala:27) [error] at sbt.internal.inc.ModuleUtilities$.$anonfun$getCheckedObjects$1(ModuleUtilities.scala:31) [error] at scala.collection.immutable.Stream.$anonfun$map$1(Stream.scala:414) [error] at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1167) [error] at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1157) [error] at scala.collection.generic.Growable.loop$1(Growable.scala:53) [error] at scala.collection.generic.Growable.$plus$plus$eq(Growable.scala:57) [error] at scala.collection.generic.Growable.$plus$plus$eq$(Growable.scala:49) [error] at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:185) [error] at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:43) [error] at scala.collection.TraversableLike.$plus$plus(TraversableLike.scala:146) [error] at scala.collection.TraversableLike.$plus$plus$(TraversableLike.scala:142) [error] at scala.collection.immutable.List.$plus$plus(List.scala:206) [error] at sbt.internal.PluginDiscovery$.discoverAll(PluginDiscovery.scala:56) [error] at sbt.internal.Load$.loadPlugins(Load.scala:1318) [error] at sbt.internal.Load$.loadPluginDefinition(Load.scala:1263) [error] at sbt.internal.Load$.buildPlugins(Load.scala:1242) [error] at sbt.internal.Load$.plugins(Load.scala:1225) [error] at sbt.internal.Load$.$anonfun$loadUnit$2(Load.scala:694) [error] at sbt.internal.Load$.timed(Load.scala:1395) [error] at sbt.internal.Load$.$anonfun$loadUnit$1(Load.scala:694) [error] at sbt.internal.Load$.timed(Load.scala:1395) [error] at sbt.internal.Load$.loadUnit(Load.scala:688) [error] at sbt.internal.Load$.$anonfun$builtinLoader$4(Load.scala:484) [error] at sbt.internal.BuildLoader$.$anonfun$componentLoader$5(BuildLoader.scala:176) [error] at sbt.internal.BuildLoader.apply(BuildLoader.scala:241) [error] at sbt.internal.Load$.loadURI$1(Load.scala:546) [error] at sbt.internal.Load$.loadAll(Load.scala:562) [error] at sbt.internal.Load$.loadURI(Load.scala:492) [error] at sbt.internal.Load$.load(Load.scala:471) [error] at sbt.internal.Load$.$anonfun$apply$1(Load.scala:251) [error] at sbt.internal.Load$.timed(Load.scala:1395) [error] at sbt.internal.Load$.apply(Load.scala:251) [error] at sbt.internal.Load$.defaultLoad(Load.scala:69) [error] at sbt.BuiltinCommands$.liftedTree1$1(Main.scala:829) [error] at sbt.BuiltinCommands$.doLoadProject(Main.scala:829) [error] at sbt.BuiltinCommands$.$anonfun$loadProjectImpl$2(Main.scala:800) [error] at sbt.Command$.$anonfun$applyEffect$4(Command.scala:142) [error] at sbt.Command$.$anonfun$applyEffect$2(Command.scala:137) [error] at sbt.Command$.process(Command.scala:181) [error] at sbt.MainLoop$.processCommand(MainLoop.scala:151) [error] at sbt.MainLoop$.$anonfun$next$2(MainLoop.scala:139) [error] at sbt.State$$anon$1.runCmd$1(State.scala:246) [error] at sbt.State$$anon$1.process(State.scala:250) [error] at sbt.MainLoop$.$anonfun$next$1(MainLoop.scala:139) [error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16) [error] at sbt.MainLoop$.next(MainLoop.scala:139) [error] at sbt.MainLoop$.run(MainLoop.scala:132) [error] at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:110) [error] at sbt.io.Using.apply(Using.scala:22) [error] at sbt.MainLoop$.runWithNewLog(MainLoop.scala:104) [error] at sbt.MainLoop$.runAndClearLast(MainLoop.scala:59) [error] at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:44) [error] at sbt.MainLoop$.runLogged(MainLoop.scala:35) [error] at sbt.StandardMain$.runManaged(Main.scala:138) [error] at sbt.xMain.run(Main.scala:89) [error] at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109) [error] at xsbt.boot.Launch$.withContextLoader(Launch.scala:128) [error] at xsbt.boot.Launch$.run(Launch.scala:109) [error] at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35) [error] at xsbt.boot.Launch$.launch(Launch.scala:117) [error] at xsbt.boot.Launch$.apply(Launch.scala:18) [error] at xsbt.boot.Boot$.runImpl(Boot.scala:56) [error] at xsbt.boot.Boot$.main(Boot.scala:18) [error] at xsbt.boot.Boot.main(Boot.scala)

@daniel-shuy
Copy link

daniel-shuy commented Feb 4, 2020

I'm facing the same issue as well. As mentioned in sbt/sbt#5049, please downgrade to SBT 1.2.8 for the meantime until the bug is fixed.

@christian-schlichtherle

Version 1.2.0 works fine with sbt 1.3.10.

@daniel-shuy
Copy link

daniel-shuy commented May 11, 2020

Version 1.2.0 works fine with sbt 1.3.10.

The issue is that the plugin is no longer backwards compatible with SBT 1.2.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants