playframework ProtocolException无效消息 [英] playframework ProtocolException invalid message

查看:89
本文介绍了playframework ProtocolException无效消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个有趣的现象:

如果我使用此控制器启动空白的index.html页面:

If I start a blank index.html page with this controller:

public class Application extends Controller {
    public static void index() {
        render();
    }
}

我没有看到索引页面,但获得了下载具有以下内容的文件的提议:

I don't see the index page but get the offer to download a file with this content:

FHcodeProtocolExceptionmessageinvalid message tagZ

这里的魔力是什么?

推荐答案

尝试更改application.conf中的HTTP端口(默认设置为 9000).

Try to change the HTTP port in your application.conf (default is set to 9000).

这篇关于playframework ProtocolException无效消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆