java - UnsupportedClassVersionError on running play application with JDK 1.7 -


just started learning play framework project requirement , project build on jdk 1.7 have downloaded play 2.3.9 version , created sample project typing activator new. moved sample project directory , executed activator run. see jdk incompatible exceptions. have make changes handle this?

log:

[info] loading project definition e:\workspace\play\first-app\project [info] set current project first-app (in build file:/e:/workspace/play/first-app/) java.lang.unsupportedclassversionerror: com/typesafe/config/configexception : unsupported major.minor version 52.0         @ java.lang.classloader.defineclass1(native method)         @ java.lang.classloader.defineclass(classloader.java:800)         @ java.security.secureclassloader.defineclass(secureclassloader.java:142)         @ java.net.urlclassloader.defineclass(urlclassloader.java:449)         @ java.net.urlclassloader.access$100(urlclassloader.java:71)         @ java.net.urlclassloader$1.run(urlclassloader.java:361)         @ java.net.urlclassloader$1.run(urlclassloader.java:355)         @ java.security.accesscontroller.doprivileged(native method)         @ java.net.urlclassloader.findclass(urlclassloader.java:354)         @ java.lang.classloader.loadclass(classloader.java:425)         @ java.lang.classloader.loadclass(classloader.java:358)         @ com.typesafe.sbt.web.sbtweb$$anonfun$com$typesafe$sbt$web$sbtweb$$load$1.apply(sbtweb.scala:535)         @ com.typesafe.sbt.web.sbtweb$$anonfun$com$typesafe$sbt$web$sbtweb$$load$1.apply(sbtweb.scala:535)         @ scala.option.fold(option.scala:157)         @ com.typesafe.sbt.web.sbtweb$.com$typesafe$sbt$web$sbtweb$$load(sbtweb.scala:549)         @ com.typesafe.sbt.web.sbtweb$$anonfun$globalsettings$1$$anonfun$apply$1.apply(sbtweb.scala:143)         @ com.typesafe.sbt.web.sbtweb$$anonfun$globalsettings$1$$anonfun$apply$1.apply(sbtweb.scala:143)         @ scala.function1$$anonfun$andthen$1.apply(function1.scala:55)         @ sbt.project$.setproject(project.scala:319)         @ sbt.builtincommands$.doloadproject(main.scala:484)         @ sbt.builtincommands$$anonfun$loadprojectimpl$2.apply(main.scala:475)         @ sbt.builtincommands$$anonfun$loadprojectimpl$2.apply(main.scala:475)         @ sbt.command$$anonfun$applyeffect$1$$anonfun$apply$2.apply(command.scala:58)         @ sbt.command$$anonfun$applyeffect$1$$anonfun$apply$2.apply(command.scala:58)         @ sbt.command$$anonfun$applyeffect$2$$anonfun$apply$3.apply(command.scala:60)         @ sbt.command$$anonfun$applyeffect$2$$anonfun$apply$3.apply(command.scala:60)         @ sbt.command$.process(command.scala:92)         @ sbt.mainloop$$anonfun$1$$anonfun$apply$1.apply(mainloop.scala:98)         @ sbt.mainloop$$anonfun$1$$anonfun$apply$1.apply(mainloop.scala:98)         @ sbt.state$$anon$1.process(state.scala:184)         @ sbt.mainloop$$anonfun$1.apply(mainloop.scala:98)         @ sbt.mainloop$$anonfun$1.apply(mainloop.scala:98)         @ sbt.errorhandling$.wideconvert(errorhandling.scala:17)         @ sbt.mainloop$.next(mainloop.scala:98)         @ sbt.mainloop$.run(mainloop.scala:91)         @ sbt.mainloop$$anonfun$runwithnewlog$1.apply(mainloop.scala:70)         @ sbt.mainloop$$anonfun$runwithnewlog$1.apply(mainloop.scala:65)         @ sbt.using.apply(using.scala:24)         @ sbt.mainloop$.runwithnewlog(mainloop.scala:65)         @ sbt.mainloop$.runandclearlast(mainloop.scala:48)         @ sbt.mainloop$.runloggedloop(mainloop.scala:32)         @ sbt.mainloop$.runlogged(mainloop.scala:24)         @ sbt.standardmain$.runmanaged(main.scala:53)         @ sbt.xmain.run(main.scala:28)         @ xsbt.boot.launch$$anonfun$run$1.apply(launch.scala:109)         @ xsbt.boot.launch$.withcontextloader(launch.scala:128)         @ xsbt.boot.launch$.run(launch.scala:109)         @ xsbt.boot.launch$$anonfun$apply$1.apply(launch.scala:35)         @ xsbt.boot.launch$.launch(launch.scala:117)         @ xsbt.boot.launch$.apply(launch.scala:18)         @ xsbt.boot.boot$.runimpl(boot.scala:41)         @ xsbt.boot.boot$.main(boot.scala:17)         @ xsbt.boot.boot.main(boot.scala) [error] java.lang.unsupportedclassversionerror: com/typesafe/config/configexception : unsupported major.minor version 52.0 

52 = java 8, 51 = java 7.. on com.typesafe.config.configexception; have new library.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -