play.core.ActionInvoker$$anonfun$receive$1$$anon$1

Execution exception [[UnsupportedClassVersionError: controllers/routes : Unsupported major.minor version 51.0]]

Samebug tips4

Update "latest" to Java 8 on DockerHub.

This might be caused by and outdated version of Java, SonarQube now uses Java 8 as default. You might upgrade java or use an older version of SonarQube.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3032

  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • Stack trace

    • play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[UnsupportedClassVersionError: controllers/routes : Unsupported major.minor version 51.0]] at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134)[play.play_2.9.1-2.0.1.jar:2.0.1] at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115)[play.play_2.9.1-2.0.1.jar:2.0.1] at akka.actor.Actor$class.apply(Actor.scala:311)[com.typesafe.akka.akka-actor-2.0.1.jar:2.0.1] at play.core.ActionInvoker.apply(Invoker.scala:113)[play.play_2.9.1-2.0.1.jar:2.0.1] at akka.actor.ActorCell.invoke(ActorCell.scala:619)[com.typesafe.akka.akka-actor-2.0.1.jar:2.0.1] at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:196)[com.typesafe.akka.akka-actor-2.0.1.jar:2.0.1] Caused by: java.lang.UnsupportedClassVersionError: controllers/routes : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method)[na:1.6.0_24] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)[na:1.6.0_24] at java.lang.ClassLoader.defineClass(ClassLoader.java:616)[na:1.6.0_24] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)[na:1.6.0_24] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)[na:1.6.0_24]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    mauritiusmauritius
    Once,
    andyglickandyglick
    6 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Eric HendersonEric Henderson
    Once,
    Unknown visitor
    Unknown visitorOnce,
    193 more bugmates