java.lang.VerifyError: class scala.runtime.RichInt$$anon$2 overrides final method foreach.(Lscala/Function1;)V

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Bill Atkins, 2 years ago
class scala.runtime.RichInt$$anon$2 overrides final method foreach.(Lscala/Function1;)V
via scala-lang.org by Unknown author, 1 year ago
class scala.runtime.RichInt$$anon$2 overrides final method foreach.(Lscala/Function1;)V
via adobe.com by Unknown author, 2 years ago
class flex.messaging.security.TomcatValve overrides final method start.()V
via adobe.com by Unknown author, 1 year ago
class flex.messaging.security.TomcatValve overrides final method start.()V
via Oracle Community by darvesth, 1 year ago
Cannot inherit from final class
java.lang.VerifyError: class scala.runtime.RichInt$$anon$2 overrides final method foreach.(Lscala/Function1;)V
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:925)
at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1485)
at scala.runtime.RichInt.until(RichInt.scala:25)
at net.liftweb.json.JsonAST$.quote(JsonAST.scala:397)
at net.liftweb.json.JsonAST$.render(JsonAST.scala:363)
at net.liftweb.json.JsonAST$$anonfun$3.apply(JsonAST.scala:367)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:45)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:194)
at net.liftweb.json.JsonAST$.render(JsonAST.scala:367)
at net.liftweb.json.JsonAST$$anonfun$2.apply(JsonAST.scala:364)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:45)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:194)
at net.liftweb.json.JsonAST$.render(JsonAST.scala:364)
at net.liftweb.json.JsonAST$$anonfun$3.apply(JsonAST.scala:367)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:45)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:194)
at net.liftweb.json.JsonAST$.render(JsonAST.scala:367)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
54 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.