NoSuchMethodError with Scala 2.12.13
See original GitHub issue[error] ## Exception when compiling 19 sources to /home/travis/build/typelevel/cats-collections/core/.jvm/target/scala-2.12/classes
[error] java.lang.NoSuchMethodError: scala.tools.nsc.Global.reporter()Lscala/tools/nsc/reporters/Reporter;
[error] scoverage.ScoverageInstrumentationComponent$$anon$1.run(plugin.scala:119)
[error] scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1511)
[error] scala.tools.nsc.Global$Run.compileUnits(Global.scala:1495)
[error] scala.tools.nsc.Global$Run.compileSources(Global.scala:1488)
[error] scala.tools.nsc.Global$Run.compileFiles(Global.scala:1599)
[error] xsbt.CachedCompiler0.run(CompilerBridge.scala:163)
[error] xsbt.CachedCompiler0.run(CompilerBridge.scala:134)
[error] xsbt.CompilerBridge.run(CompilerBridge.scala:39)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:12
- Comments:23 (18 by maintainers)
Top Results From Across the Web
scoverage-maven-plugin error with scala 2.12.13
1.3.0 After updating scala version from 2.12.3 to 2.12.13 I have got an error [ERROR] error: java.lang.NoSuchMethodError: scala.tools.nsc.
Read more >The Scala java.lang.NoSuchMethodError compiler error ...
Caused by: java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps;.
Read more >All Available Versions - The Scala Programming Language
This page contains a comprehensive archive of previous Scala releases. Current Releases. Current 3.2.x release: 3.2.1. Released on November 7, 2022 · Current ......
Read more >scala-maven-plugin – Using the plugin
To display command used when process is spawned set the property displayCmd to true. (In the incremental mode no process is spawned, so...
Read more >Update scala-library, scala-reflect to 2.12.13 - The Mail Archive
NoSuchMethodError : scala.tools.nsc. ... The build failures are related to scoverage, which does not support Scala 2.12.13 yet: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Alright folks, thanks for your patience. While you wont’s see it on search yet, you can see the newly created v1.4.3 artifacts are now available with 2.12.13 and 2.13.5 support. I’ve also released a new version of the sbt plugin, v1.7.0 supporting those versions. That’s also not searchable yet, but you can pull it down.
Please report any issues.
EDIT: Also huge thanks to @domizei385 for helping push this over the finish line.
Just a quick update to those that are following along here, I’ve been granted some repo access so I’ve gone ahead and published a new version that should support 2.12.13. I’ll follow-up with a release of the sbt-plugin as soon as I’m able.