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.

Scala 2.13 won't compile

See original GitHub issue

Hello ! Thanks for a great project. I used your g8 template to generate a stub and integrate it in a main project. This works for Scala 2.12, but fails to compile for 2.13, due to renamed collections.

[error] (protocol / muSrcGen) java.lang.NoSuchMethodError: 'scala.jdk.CollectionConverters$RichConcurrentHashMap scala.jdk.CollectionConverters$.RichConcurrentHashMap(java.util.concurrent.ConcurrentHashMap)'
[error] (update) sbt.librarymanagement.ResolveException: Error downloading tetra-protocol:tetra-protocol_2.13:0.1.0-SNAPSHOT

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
julianpeeterscommented, Feb 15, 2021

This should be fixed now in "com.julianpeeters" %% "avrohugger-core" % "1.0.0-RC23"

Kudos @targeter for the fix

1reaction
tamplercommented, Jul 21, 2020

I tried this product before I found zio-grpc. I’m writing most code with ZIO, so its a simply better coding fit. Nothing wrong with mu-scala, its an awesome lib.

Kudos @cb372 for building it. I saw his talk on Scala-in-the-City conference and decided to try

Read more comments on GitHub >

github_iconTop Results From Across the Web

can't compile scala 2.13.0 · Issue #9857 · gradle/gradle - GitHub
Task has failed previously. Zinc is doing a full recompile since the analysis file doesn't exist. Starting process 'Gradle Worker Daemon 8'.
Read more >
sbt - scala 2.13 - error during compiling plugin - Stack Overflow
During compiling I get an error: java.lang.NoClassDefFoundError: scala/collection/immutable/StringOps When I change the version to 2.12.6 ...
Read more >
[Solved] IndexOutOfBoundsException in Scala 2.13.8 inliner
I have ~30 Scala 2.13.8 work projects (so no source immediately available) that are getting updated to compile and run on JDK 17....
Read more >
IntelliJ IDEA - Troubleshoot common Scala issues - JetBrains
In most cases your project JDK is not compatible with Scala or sbt version, try to change the Scala Compile Server SDK. Press...
Read more >
Scala is a Maintenance Nightmare - MungingData
Scala libraries need to be cross compiled with different Scala versions. utest v0.7.7 ... Migrating to Scala 2.12 or Scala 2.13 can be...
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