Generate Scala 2.12 compatible classes
See original GitHub issueDespite the README says generated classes are Scala 2.12 compatible, I got this error when using generated case classes in a Scala 2.12 project: java.lang.NoClassDefFoundError: scala/Product$class
.
The avrohugger dependency is only available for Scala 2.11 so when I build my JAR I can’t use the Scala 2.12 compiler in the same project. I want to use the same project to generate Scala source code and compile and build a JAR of classes.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Scala 2.12.0 is now available!
The FunctionN classes in Scala's standard library are now Single Abstract Method (SAM) types, and all SAM types are treated uniformly – from ......
Read more >Scala 2.12.0-M2 is now available!
Since Scala 2.11, minor releases of Scala are binary compatible with each other. Scala 2.12 will continue this tradition: every 2.12.x release ...
Read more >Scala 2.12.0-M5 is now available!
We are happy to announce the availability of Scala 2.12.0-M5! Notable changes in M5 (see here for a more extensive list):.
Read more >JDK Compatibility - Scala Documentation
Scala 2.13.6 and 2.12.15 support JDK 17. The Scala test suite and Scala community build are green on JDK 17. For sbt users,...
Read more >scala-collection-compat
To cross-build for 2.12 and 2.11, the rewrite rule introduces a dependency on the scala-collection-compat module, which provides some APIs of 2.13 on...
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 FreeTop 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
Top GitHub Comments
@robvadai @fkoehler Thanks for your patience, all. avrohugger 0.17.0 for scala 2.12 (and sbt-avrohugger 1.0.0) is out now.
We also need a Scala 2.12 and sbt 1.0 release