Doesn't support scala3?
See original GitHub issue[ERROR] Method java.lang.invoke.MethodHandle.invoke()V was not found
at scala.runtime.Statics.releaseFence(Statics.java:148)
at scala.collection.immutable.$colon$colon.<init>(List.scala:656)
at scala.collection.immutable.List.$colon$colon(List.scala:97)
at scala.util.CommandLineParser$.parseRemainingArguments(CommandLineParser.scala:33) at Main.main(Main.scala:1)
[ERROR] Method java.lang.invoke.MethodHandles.lookup()Ljava/lang/invoke/MethodHandles$Lookup; was not found
at scala.runtime.Statics$VM.mkHandle(Statics.java:159) at scala.runtime.Statics$VM.<clinit>(Statics.java:155)
at scala.runtime.Statics.releaseFence(Statics.java:148)
at scala.collection.immutable.$colon$colon.<init>(List.scala:656)
at scala.collection.immutable.List.$colon$colon(List.scala:97)
at scala.util.CommandLineParser$.parseRemainingArguments(CommandLineParser.scala:33)
at Main.main(Main.scala:1)
[ERROR] Class java.lang.ExceptionInInitializerError was not found at scala.runtime.Statics$VM.mkHandle(Statics.java:172)
at scala.runtime.Statics$VM.<clinit>(Statics.java:155) at scala.runtime.Statics.releaseFence(Statics.java:148)
at scala.collection.immutable.$colon$colon.<init>(List.scala:656) at scala.collection.immutable.List.$colon$colon(List.scala:97)
at scala.util.CommandLineParser$.parseRemainingArguments(CommandLineParser.scala:33)
at Main.main(Main.scala:1)
[ERROR] Class java.lang.ExceptionInInitializerError was not found
at scala.runtime.Statics$VM.mkHandle(Statics.java:167)
at scala.runtime.Statics$VM.<clinit>(Statics.java:155) at scala.runtime.Statics.releaseFence(Statics.java:148)
at scala.collection.immutable.$colon$colon.<init>(List.scala:656)
at scala.collection.immutable.List.$colon$colon(List.scala:97)
at scala.util.CommandLineParser$.parseRemainingArguments(CommandLineParser.scala:33)
at Main.main(Main.scala:1) [ERROR] Method java.lang.invoke.MethodType.methodType(Ljava/lang/Class;)Ljava/lang/invoke/MethodType; was not found
at scala.runtime.Statics$VM.mkHandle(Statics.java:161) at scala.runtime.Statics$VM.<clinit>(Statics.java:155)
at scala.runtime.Statics.releaseFence(Statics.java:148) at scala.collection.immutable.$colon$colon.<init>(List.scala:656)
at scala.collection.immutable.List.$colon$colon(List.scala:97)
at scala.util.CommandLineParser$.parseRemainingArguments(CommandLineParser.scala:33) at Main.main(Main.scala:1)
[ERROR] Method java.lang.invoke.MethodType.methodType(Ljava/lang/Class;)Ljava/lang/invoke/MethodType; was not found
at scala.runtime.Statics$VM.mkHandle(Statics.java:165)
at scala.runtime.Statics$VM.<clinit>(Statics.java:155) at scala.runtime.Statics.releaseFence(Statics.java:148)
at scala.collection.immutable.$colon$colon.<init>(List.scala:656) at scala.collection.immutable.List.$colon$colon(List.scala:97)
at scala.util.CommandLineParser$.parseRemainingArguments(CommandLineParser.scala:33) at Main.main(Main.scala:1)
[ERROR] Method java.util.Set.copyOf(Ljava/util/Collection;)Ljava/util/Set; was not found
at jdk.internal.reflect.Reflection.registerFilter(Reflection.java:291)
at jdk.internal.reflect.Reflection.registerMethodsToFilter(Reflection.java:280) at sun.misc.Unsafe.<clinit>(Unsafe.java:59)
at java.lang.Class.initialize
at scala.runtime.Statics$VM.mkHandle(Statics.java:161)
at scala.runtime.Statics$VM.<clinit>(Statics.java:155)
at scala.runtime.Statics.releaseFence(Statics.java:148)
at scala.collection.immutable.$colon$colon.<init>(List.scala:656)
at scala.collection.immutable.List.$colon$colon(List.scala:97)
at scala.util.CommandLineParser$.parseRemainingArguments(CommandLineParser.scala:33)
at Main.main(Main.scala:1)
[ERROR] Class java.lang.Module was not found
at jdk.internal.reflect.Reflection.<clinit>(Reflection.java:55)
at sun.misc.Unsafe.<clinit>(Unsafe.java:59) at java.lang.Class.initialize
at scala.runtime.Statics$VM.mkHandle(Statics.java:161)
at scala.runtime.Statics$VM.<clinit>(Statics.java:155)
at scala.runtime.Statics.releaseFence(Statics.java:148) at scala.collection.immutable.$colon$colon.<init>(List.scala:656)
at scala.collection.immutable.List.$colon$colon(List.scala:97)
at scala.util.CommandLineParser$.parseRemainingArguments(CommandLineParser.scala:33)
at Main.main(Main.scala:1) [ERROR] Native method jdk.internal.misc.Unsafe.registerNatives()V has no implementation
at jdk.internal.misc.Unsafe.registerNatives
at jdk.internal.misc.Unsafe.<clinit>(Unsafe.java:60)
at sun.misc.Unsafe.<clinit>(Unsafe.java:65)
at java.lang.Class.initialize
at scala.runtime.Statics$VM.mkHandle(Statics.java:161)
at scala.runtime.Statics$VM.<clinit>(Statics.java:155)
at scala.runtime.Statics.releaseFence(Statics.java:148)
at scala.collection.immutable.$colon$colon.<init>(List.scala:656)
at scala.collection.immutable.List.$colon$colon(List.scala:97) at scala.util.CommandLineParser$.parseRemainingArguments(CommandLineParser.scala:33)
at Main.main(Main.scala:1) [ERROR] Native method jdk.internal.misc.Unsafe.arrayBaseOffset0(Ljava/lang/Class;)I has no implementation
at jdk.internal.misc.Unsafe.arrayBaseOffset0
at jdk.internal.misc.Unsafe.arrayBaseOffset(Unsafe.java:1173)
at jdk.internal.misc.Unsafe.<clinit>(Unsafe.java:1179) at sun.misc.Unsafe.<clinit>(Unsafe.java:65)
at java.lang.Class.initialize at scala.runtime.Statics$VM.mkHandle(Statics.java:161)
at scala.runtime.Statics$VM.<clinit>(Statics.java:155)
at scala.runtime.Statics.releaseFence(Statics.java:148) at scala.collection.immutable.$colon$colon.<init>(List.scala:656)
at scala.collection.immutable.List.$colon$colon(List.scala:97)
at scala.util.CommandLineParser$.parseRemainingArguments(CommandLineParser.scala:33)
at Main.main(Main.scala:1) [ERROR] Native method jdk.internal.misc.Unsafe.arrayIndexScale0(Ljava/lang/Class;)I has no implementation
at jdk.internal.misc.Unsafe.arrayIndexScale0 at jdk.internal.misc.Unsafe.arrayIndexScale(Unsafe.java:1229)
at jdk.internal.misc.Unsafe.<clinit>(Unsafe.java:1235)
at sun.misc.Unsafe.<clinit>(Unsafe.java:65)
at java.lang.Class.initialize
at scala.runtime.Statics$VM.mkHandle(Statics.java:161) at scala.runtime.Statics$VM.<clinit>(Statics.java:155)
at scala.runtime.Statics.releaseFence(Statics.java:148)
at scala.collection.immutable.$colon$colon.<init>(List.scala:656) at scala.collection.immutable.List.$colon$colon(List.scala:97)
at scala.util.CommandLineParser$.parseRemainingArguments(CommandLineParser.scala:33) at Main.main(Main.scala:1)
Issue Analytics
- State:
- Created 9 months ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Support for Scala3 · Issue #16527 · gradle/gradle - GitHub
I've got almost no experience with Java/the JVM either =/ Anyways, I'm using Maven for Scala 3 dependency management currently because it has...
Read more >I want to move to Scala 3, but I'm not sure what libraries to use
I don't think Slick supports Scala 3 yet. Doobie uses Cats. This is all quite confusing. Is it just too early to start...
Read more >Scala 3 in sbt 1.5
Scala Native is not yet compatible with Scala 3. Wrapping up. Using Scala 3 in sbt 1.5.0 is simpler than ever. It is...
Read more >Using Scala 3 with Spark | 47 Degrees
The answer is: it doesn't matter! We can already use Scala 3 to build Spark applications thanks to the compatibility between Scala 2.13...
Read more >Scala 3 support - Documentation - Akka
Akka has experimental support for Scala 3. Using 2.13 artifacts in Scala 3 ... We do not promise binary compatibility for these artifacts...
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
TeaVM was never meant to support Node.js, since it makes no sense: on the server you can run JVM which superior to Node.js in all aspects. Any idea why one would need to compile Scala to Node.js?
Sorry for my mistake.Thank you very much. 😄 Because my friend’s application is based on nodejs. jvm is a bit bulky for it.