【发布时间】:2014-08-03 15:34:20
【问题描述】:
我的路线文件看起来像
GET / controllers.Application.index()
POST /get_token controllers.Application.getToken()
GET for '/' 工作正常。 但是,“/get_token”的 POST 失败并显示以下错误消息。
[error] p.nettyException - Exception caught in Netty
java.lang.IllegalArgumentException: invalid version format: =Dᅥメ$_!HBユHᅢW(+/゙ᅩᅩ
at org.jboss.netty.handler.codec.http.HttpVersion.<init>(HttpVersion.java:102) ~[netty.jar:na]
at org.jboss.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.java:62) ~[netty.jar:na]
at org.jboss.netty.handler.codec.http.HttpRequestDecoder.createMessage(HttpRequestDecoder.java:75) ~[netty.jar:na]
at org.jboss.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:189) ~[netty.jar:na]
at org.jboss.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:101) ~[netty.jar:na]
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:500) ~[netty.jar:na]
我正在使用 play-2.2.1。
我比较新玩。
有人能帮帮我吗?
提前致谢!
【问题讨论】:
标签: playframework playframework-2.2