Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/scala/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java PlayFramework激活器错误_Java_Scala_Playframework_Playframework 2.1 - Fatal编程技术网

Java PlayFramework激活器错误

Java PlayFramework激活器错误,java,scala,playframework,playframework-2.1,Java,Scala,Playframework,Playframework 2.1,我创建了第一个Play应用程序,并使用“run”命令获取错误: 原因 Caused by: java.lang.ClassNotFoundException: com.typesafe.netty.http.pipelining.OrderedDownstreamMessageEvent at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader

我创建了第一个Play应用程序,并使用“run”命令获取错误:

原因

Caused by: java.lang.ClassNotFoundException: com.typesafe.netty.http.pipelining.OrderedDownstreamMessageEvent
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sbt.PlayCommands$$anonfun$53$$anonfun$55$$anon$2.loadClass(PlayCommands.scala:535)
at play.core.server.NettyServer.<init>(NettyServer.scala:123)
at play.core.server.NettyServer$$anonfun$mainDev$1.apply(NettyServer.scala:274)
at play.core.server.NettyServer$$anonfun$mainDev$1.apply(NettyServer.scala:272)
at play.utils.Threads$.withContextClassLoader(Threads.scala:18)
at play.core.server.NettyServer$.mainDev(NettyServer.scala:271)
at play.core.server.NettyServer.mainDev(NettyServer.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sbt.PlayCommands$$anonfun$53$$anonfun$55.apply(PlayCommands.scala:575)
at sbt.PlayCommands$$anonfun$53$$anonfun$55.apply(PlayCommands.scala:507)
at scala.Either$RightProjection.map(Either.scala:533)
at sbt.PlayCommands$$anonfun$53.apply(PlayCommands.scala:507)
at sbt.PlayCommands$$anonfun$53.apply(PlayCommands.scala:487)
at sbt.Command$$anonfun$sbt$Command$$apply1$1$$anonfun$apply$6.apply(Command.scala:72)
at sbt.Command$.process(Command.scala:90)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
at sbt.State$$anon$2.process(State.scala:171)
at sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
at sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.MainLoop$.next(MainLoop.scala:71)
at sbt.MainLoop$.run(MainLoop.scala:64)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:53)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:50)
at sbt.Using.apply(Using.scala:25)
at sbt.MainLoop$.runWithNewLog(MainLoop.scala:50)
at sbt.MainLoop$.runAndClearLast(MainLoop.scala:33)
at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:17)
at sbt.MainLoop$.runLogged(MainLoop.scala:13)
at sbt.xMain.run(Main.scala:26)
at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
at xsbt.boot.Launch$.run(Launch.scala:109)
at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
at xsbt.boot.Launch$.launch(Launch.scala:117)
at xsbt.boot.Launch$.apply(Launch.scala:18)
at xsbt.boot.Boot$.runImpl(Boot.scala:41)
at xsbt.boot.Boot$.main(Boot.scala:17)
at xsbt.boot.Boot.main(Boot.scala)
原因:java.lang.ClassNotFoundException:com.typesafe.netty.http.pipeline.OrderedDownstreamMessageEvent
在java.net.URLClassLoader$1.run(URLClassLoader.java:366)
在java.net.URLClassLoader$1.run(URLClassLoader.java:355)
位于java.security.AccessController.doPrivileged(本机方法)
位于java.net.URLClassLoader.findClass(URLClassLoader.java:354)
位于java.lang.ClassLoader.loadClass(ClassLoader.java:425)
位于java.lang.ClassLoader.loadClass(ClassLoader.java:358)
在sbt.PlayCommands$$anonfun$53$$anonfun$55$$anon$2.loadClass(PlayCommands.scala:535)
在游戏中。core.server.NettyServer。(NettyServer.scala:123)
at play.core.server.NettyServer$$anonfun$mainDev$1.apply(NettyServer.scala:274)
atplay.core.server.NettyServer$$anonfun$mainDev$1.apply(NettyServer.scala:272)
在播放时.utils.Threads$.withContextClassLoader(Threads.scala:18)
at play.core.server.NettyServer$.mainDev(NettyServer.scala:271)
播放时.core.server.NettyServer.mainDev(NettyServer.scala)
在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)处
在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)中
在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)中
位于java.lang.reflect.Method.invoke(Method.java:606)
在sbt.PlayCommands$$anonfun$53$$anonfun$55.apply(PlayCommands.scala:575)
在sbt.PlayCommands$$anonfun$53$$anonfun$55.apply(PlayCommands.scala:507)
在scala.other$RightProjection.map(other.scala:533)
在sbt.playcomands$$anonfun$53.apply(playcomands.scala:507)
在sbt.playcomands$$anonfun$53.apply(playcomands.scala:487)
在sbt.Command$$anonfun$sbt$Command$$apply1$1$$anonfun$apply$6.apply(Command.scala:72)
在sbt.Command$.process时(Command.scala:90)
在sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
在sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
在sbt.State$$anon$2.process(State.scala:171)
在sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
在sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
在sbt.ErrorHandling$.wideConvert时(ErrorHandling.scala:18)
在sbt.MainLoop$.next(MainLoop.scala:71)
在sbt.MainLoop$.run处(MainLoop.scala:64)
在sbt.MainLoop$$anonfun$runWithNewLog$1.apply处(MainLoop.scala:53)
在sbt.MainLoop$$anonfun$runWithNewLog$1.apply处(MainLoop.scala:50)
在sbt.Using.apply处(Using.scala:25)
在sbt.MainLoop$.runWithNewLog(MainLoop.scala:50)
在sbt.MainLoop$.runAndClearLast(MainLoop.scala:33)
位于sbt.MainLoop$.runLoggedLoop(MainLoop.scala:17)
在sbt.MainLoop$.runLogged处(MainLoop.scala:13)
在sbt.xMain.run(Main.scala:26)
在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)
你知道那是什么吗

详细信息

java版本“1.7.0_95” OpenJDK运行时环境(IcedTea 2.6.4)(7u95-2.6.4-0ubuntu0.15.10.2) OpenJDK 64位服务器虚拟机(构建24.95-b01,混合模式)

播放版本:2.1.2

sbt版本:0.12.4


activator版本:1.0

添加更多详细信息:哪个JVM、activator版本、Play版本等添加了日志下面的详细信息。为什么您要使用Play 2.1.2而不是更新版本(目前2.5.1是最新版本)创建新应用程序?来源?我建议您更新Java、SBT和Activator(Play)。从Java开始,您需要具有最新版本(2.4以后)的版本8。