playframework ProtocolException invalid message

穿精又带淫゛_ 提交于 2019-12-12 02:48:44

问题


I have a funny phenomenon:

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

What is the magic here?


回答1:


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



来源:https://stackoverflow.com/questions/8823743/playframework-protocolexception-invalid-message

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!