question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NoSuchMethodError compiling Scala 2.13 test sources

See original GitHub issue

Hi,

I’m compiling my Scala 2.13 sources with <recompileMode>all</recompileMode>. The main compilation works fine but the test compile step fails with the following error:

[ERROR] error: java.lang.NoSuchMethodError: scala.Predef$.wrapRefArray([Ljava/lang/Object;)Lscala/collection/mutable/WrappedArray;
[INFO] 	at org.scalactic.source.PositionMacro$.genPosition(PositionMacro.scala:59)
[INFO] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[INFO] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO] 	at java.lang.reflect.Method.invoke(Method.java:498)
[INFO] 	at scala.reflect.macros.runtime.JavaReflectionRuntimes$JavaReflectionResolvers.$anonfun$resolveJavaReflectionRuntime$4(JavaReflectionRuntimes.scala:46)
[INFO] 	at scala.tools.nsc.typechecker.Macros.macroExpandWithRuntime(Macros.scala:754)
[INFO] 	at scala.tools.nsc.typechecker.Macros.macroExpandWithRuntime$(Macros.scala:730)
[INFO] 	at scala.tools.nsc.Global$$anon$5.macroExpandWithRuntime(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.Macros$MacroExpander.$anonfun$expand$1(Macros.scala:560)
[INFO] 	at scala.tools.nsc.Global.withInfoLevel(Global.scala:225)
[INFO] 	at scala.tools.nsc.typechecker.Macros$MacroExpander.expand(Macros.scala:553)
[INFO] 	at scala.tools.nsc.typechecker.Macros$MacroExpander.apply(Macros.scala:540)
[INFO] 	at scala.tools.nsc.typechecker.Macros.standardMacroExpand(Macros.scala:715)
[INFO] 	at scala.tools.nsc.typechecker.Macros.standardMacroExpand$(Macros.scala:713)
[INFO] 	at scala.tools.nsc.Global$$anon$5.standardMacroExpand(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:439)
[INFO] 	at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:436)
[INFO] 	at scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:408)
[INFO] 	at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand(AnalyzerPlugins.scala:436)
[INFO] 	at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand$(AnalyzerPlugins.scala:436)
[INFO] 	at scala.tools.nsc.Global$$anon$5.pluginsMacroExpand(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.Macros.macroExpand(Macros.scala:704)
[INFO] 	at scala.tools.nsc.typechecker.Macros.macroExpand$(Macros.scala:697)
[INFO] 	at scala.tools.nsc.Global$$anon$5.macroExpand(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.vanillaAdapt$1(Typers.scala:1213)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1278)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1251)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.typedImplicit1(Implicits.scala:864)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.typedImplicit0(Implicits.scala:801)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.scala$tools$nsc$typechecker$Implicits$ImplicitSearch$$typedImplicit(Implicits.scala:621)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch$ImplicitComputation.rankImplicits(Implicits.scala:1129)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch$ImplicitComputation.findBest(Implicits.scala:1164)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1221)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.bestImplicit(Implicits.scala:1646)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicit1(Implicits.scala:113)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicit(Implicits.scala:92)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicit$(Implicits.scala:89)
[INFO] 	at scala.tools.nsc.Global$$anon$5.inferImplicit(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicitFor(Implicits.scala:47)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicitFor$(Implicits.scala:46)
[INFO] 	at scala.tools.nsc.Global$$anon$5.inferImplicitFor(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.applyImplicitArgs(Typers.scala:271)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.typedImplicit1(Implicits.scala:849)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.typedImplicit0(Implicits.scala:801)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.scala$tools$nsc$typechecker$Implicits$ImplicitSearch$$typedImplicit(Implicits.scala:621)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch$ImplicitComputation.rankImplicits(Implicits.scala:1129)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch$ImplicitComputation.findBest(Implicits.scala:1164)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1221)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.bestImplicit(Implicits.scala:1620)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicit1(Implicits.scala:113)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicit(Implicits.scala:92)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicit$(Implicits.scala:89)
[INFO] 	at scala.tools.nsc.Global$$anon$5.inferImplicit(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicitView(Implicits.scala:51)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicitView$(Implicits.scala:50)
[INFO] 	at scala.tools.nsc.Global$$anon$5.inferImplicitView(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.inferView(Typers.scala:337)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.adaptToMember(Typers.scala:1339)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$adaptToMemberWithArgs$7(Typers.scala:1389)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:728)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.adaptToMemberWithArgs(Typers.scala:1389)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedSelect$1(Typers.scala:5115)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedSelectOrSuperCall$1(Typers.scala:5266)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5822)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$40(Typers.scala:4929)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:715)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4931)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4959)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5821)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2541)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:5796)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5831)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:3414)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgWithFormal$1(PatternTypers.scala:113)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.$anonfun$typedArgsForFormals$4(PatternTypers.scala:129)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals(PatternTypers.scala:129)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals$(PatternTypers.scala:110)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedArgsForFormals(Typers.scala:209)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.handleMonomorphicCall$1(Typers.scala:3722)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3773)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4950)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4959)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5821)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5931)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3396)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3396)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2540)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:5796)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5831)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:3414)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgWithFormal$1(PatternTypers.scala:113)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.$anonfun$typedArgsForFormals$4(PatternTypers.scala:129)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals(PatternTypers.scala:129)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals$(PatternTypers.scala:110)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedArgsForFormals(Typers.scala:209)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.handleMonomorphicCall$1(Typers.scala:3722)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3773)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4950)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4959)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5821)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5931)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3396)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3396)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:2050)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1880)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5775)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5931)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3396)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3396)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5475)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5778)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.apply(Analyzer.scala:115)
[INFO] 	at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:451)
[INFO] 	at scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.run(Analyzer.scala:104)
[INFO] 	at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1510)
[INFO] 	at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1494)
[INFO] 	at scala.tools.nsc.Global$Run.compileSources(Global.scala:1486)
[INFO] 	at scala.tools.nsc.Global$Run.compile(Global.scala:1615)
[INFO] 	at scala.tools.nsc.Driver.doCompile(Driver.scala:48)
[INFO] 	at scala.tools.nsc.MainClass.doCompile(Main.scala:30)
[INFO] 	at scala.tools.nsc.Driver.process(Driver.scala:68)
[INFO] 	at scala.tools.nsc.Driver.main(Driver.scala:82)
[INFO] 	at scala.tools.nsc.Main.main(Main.scala)
[INFO] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[INFO] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO] 	at java.lang.reflect.Method.invoke(Method.java:498)
[INFO] 	at scala_maven_executions.MainHelper.runMain(MainHelper.java:161)
[INFO] 	at scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
[INFO] java.lang.reflect.InvocationTargetException
[INFO] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[INFO] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO] 	at java.lang.reflect.Method.invoke(Method.java:498)
[INFO] 	at scala_maven_executions.MainHelper.runMain(MainHelper.java:161)
[INFO] 	at scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
[ERROR] Caused by: java.lang.NoSuchMethodError: scala.Predef$.wrapRefArray([Ljava/lang/Object;)Lscala/collection/mutable/WrappedArray;
[INFO] 	at org.scalactic.source.PositionMacro$.genPosition(PositionMacro.scala:59)
[INFO] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[INFO] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO] 	at java.lang.reflect.Method.invoke(Method.java:498)
[INFO] 	at scala.reflect.macros.runtime.JavaReflectionRuntimes$JavaReflectionResolvers.$anonfun$resolveJavaReflectionRuntime$4(JavaReflectionRuntimes.scala:46)
[INFO] 	at scala.tools.nsc.typechecker.Macros.macroExpandWithRuntime(Macros.scala:754)
[INFO] 	at scala.tools.nsc.typechecker.Macros.macroExpandWithRuntime$(Macros.scala:730)
[INFO] 	at scala.tools.nsc.Global$$anon$5.macroExpandWithRuntime(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.Macros$MacroExpander.$anonfun$expand$1(Macros.scala:560)
[INFO] 	at scala.tools.nsc.Global.withInfoLevel(Global.scala:225)
[INFO] 	at scala.tools.nsc.typechecker.Macros$MacroExpander.expand(Macros.scala:553)
[INFO] 	at scala.tools.nsc.typechecker.Macros$MacroExpander.apply(Macros.scala:540)
[INFO] 	at scala.tools.nsc.typechecker.Macros.standardMacroExpand(Macros.scala:715)
[INFO] 	at scala.tools.nsc.typechecker.Macros.standardMacroExpand$(Macros.scala:713)
[INFO] 	at scala.tools.nsc.Global$$anon$5.standardMacroExpand(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:439)
[INFO] 	at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:436)
[INFO] 	at scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:408)
[INFO] 	at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand(AnalyzerPlugins.scala:436)
[INFO] 	at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand$(AnalyzerPlugins.scala:436)
[INFO] 	at scala.tools.nsc.Global$$anon$5.pluginsMacroExpand(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.Macros.macroExpand(Macros.scala:704)
[INFO] 	at scala.tools.nsc.typechecker.Macros.macroExpand$(Macros.scala:697)
[INFO] 	at scala.tools.nsc.Global$$anon$5.macroExpand(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.vanillaAdapt$1(Typers.scala:1213)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1278)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1251)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.typedImplicit1(Implicits.scala:864)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.typedImplicit0(Implicits.scala:801)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.scala$tools$nsc$typechecker$Implicits$ImplicitSearch$$typedImplicit(Implicits.scala:621)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch$ImplicitComputation.rankImplicits(Implicits.scala:1129)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch$ImplicitComputation.findBest(Implicits.scala:1164)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1221)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.bestImplicit(Implicits.scala:1646)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicit1(Implicits.scala:113)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicit(Implicits.scala:92)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicit$(Implicits.scala:89)
[INFO] 	at scala.tools.nsc.Global$$anon$5.inferImplicit(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicitFor(Implicits.scala:47)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicitFor$(Implicits.scala:46)
[INFO] 	at scala.tools.nsc.Global$$anon$5.inferImplicitFor(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.applyImplicitArgs(Typers.scala:271)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.typedImplicit1(Implicits.scala:849)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.typedImplicit0(Implicits.scala:801)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.scala$tools$nsc$typechecker$Implicits$ImplicitSearch$$typedImplicit(Implicits.scala:621)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch$ImplicitComputation.rankImplicits(Implicits.scala:1129)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch$ImplicitComputation.findBest(Implicits.scala:1164)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1221)
[INFO] 	at scala.tools.nsc.typechecker.Implicits$ImplicitSearch.bestImplicit(Implicits.scala:1620)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicit1(Implicits.scala:113)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicit(Implicits.scala:92)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicit$(Implicits.scala:89)
[INFO] 	at scala.tools.nsc.Global$$anon$5.inferImplicit(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicitView(Implicits.scala:51)
[INFO] 	at scala.tools.nsc.typechecker.Implicits.inferImplicitView$(Implicits.scala:50)
[INFO] 	at scala.tools.nsc.Global$$anon$5.inferImplicitView(Global.scala:482)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.inferView(Typers.scala:337)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.adaptToMember(Typers.scala:1339)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$adaptToMemberWithArgs$7(Typers.scala:1389)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:728)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.adaptToMemberWithArgs(Typers.scala:1389)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedSelect$1(Typers.scala:5115)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedSelectOrSuperCall$1(Typers.scala:5266)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5822)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$40(Typers.scala:4929)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:715)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4931)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4959)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5821)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2541)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:5796)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5831)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:3414)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgWithFormal$1(PatternTypers.scala:113)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.$anonfun$typedArgsForFormals$4(PatternTypers.scala:129)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals(PatternTypers.scala:129)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals$(PatternTypers.scala:110)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedArgsForFormals(Typers.scala:209)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.handleMonomorphicCall$1(Typers.scala:3722)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3773)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4950)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4959)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5821)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5931)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3396)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3396)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2540)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:5796)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5831)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:3414)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgWithFormal$1(PatternTypers.scala:113)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.$anonfun$typedArgsForFormals$4(PatternTypers.scala:129)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals(PatternTypers.scala:129)
[INFO] 	at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals$(PatternTypers.scala:110)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedArgsForFormals(Typers.scala:209)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.handleMonomorphicCall$1(Typers.scala:3722)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3773)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4950)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4959)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5821)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5931)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3396)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3396)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:2050)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1880)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5775)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5931)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3396)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3396)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5475)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5778)
[INFO] 	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
[INFO] 	at scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.apply(Analyzer.scala:115)
[INFO] 	at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:451)
[INFO] 	at scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.run(Analyzer.scala:104)
[INFO] 	at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1510)
[INFO] 	at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1494)
[INFO] 	at scala.tools.nsc.Global$Run.compileSources(Global.scala:1486)
[INFO] 	at scala.tools.nsc.Global$Run.compile(Global.scala:1615)
[INFO] 	at scala.tools.nsc.Driver.doCompile(Driver.scala:48)
[INFO] 	at scala.tools.nsc.MainClass.doCompile(Main.scala:30)
[INFO] 	at scala.tools.nsc.Driver.process(Driver.scala:68)
[INFO] 	at scala.tools.nsc.Driver.main(Driver.scala:82)
[INFO] 	at scala.tools.nsc.Main.main(Main.scala)
[INFO] 	... 6 more

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
slandellecommented, Jun 16, 2019

I’ll work on this this week.

2reactions
slandellecommented, Jul 8, 2019

@janhicken Check dependency:tree and you’ll realize you’re pulling scalatest_2.13.0-M2, that as its name states, is compiled against Scala 2.13.0-M2, not Scala 2.13. You have to upgrade to scalatest_2.13.

Read more comments on GitHub >

github_iconTop Results From Across the Web

sbt can not compile Scala project because of java.lang ...
sbt can not compile Scala project because of java.lang.NoSuchMethodError ... I am new to Scala so any help would be really appreciated. I...
Read more >
NoSuchMethodError in Scala 3 - Question
The bash script that I use to run my test invokes scala – but a different version than sbt uses to compile! The...
Read more >
java.lang.NoSuchMethodError when running scalatest tests ...
java.lang.NoSuchMethodError when running scalatest tests from within IDE in scala 2.13 project. Duplicates 1. Duplicates 1 issue (0 unresolved).
Read more >
Gradle 7.5-rc-5 Release Notes
Zinc is the Scala incremental compiler that allows Gradle to always compile the ... This release provides improved support for test sources in...
Read more >
exception during macro expansion - Google Groups
When I did a test:compile, I encounter the errors below. The same testcases work in ... [info] Compiling 49 Scala sources and 1...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found