UnsupportedClassVersionError on running play application with JDK 1.7

后端 未结 6 1921
青春惊慌失措
青春惊慌失措 2020-12-24 05:40

Just now started learning Play framework for my project requirement and my project only build on JDK 1.7 so I have downloaded Play 2.3.9 ve

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-24 06:35

    Indeed what @cib is saying solves my problem. Just modify the file plugins.sbt in my projet directory.

    Change the line :

    addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.2")

    to:

    addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.9")

    and you'll not get any errors doing activator run again.

提交回复
热议问题