gpt4 book ai didi

java - GAE 应用程序未在 Firefox 中显示

转载 作者:行者123 更新时间:2023-12-02 06:36:50 25 4
gpt4 key购买 nike

当我使用查看页面源代码检查时,我的 GAE 应用程序不会在 Firefox 中显示,它是空白的,没有 html 代码,并且 Web 开发人员控制台显示警告

[14:28:48.894] The character encoding of the plain text document was not declared. The >document will render with garbled text in some browser configurations if the document >contains characters from outside the US-ASCII range. The character encoding of the file >needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature. @ http://localhost:8080/

服务器日志产生此跟踪

java.lang.ArrayIndexOutOfBoundsException: 1
at com.google.appengine.api.users.dev.LoginCookieUtils.parseCookie(LoginCookieUtils.java:113)
at com.google.appengine.api.users.dev.LoginCookieUtils.getCookieData(LoginCookieUtils.java:82)
at com.google.appengine.tools.development.LocalHttpRequestEnvironment.<init>(LocalHttpRequestEnvironment.java:50)
at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:475)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

我搜索过,但没有找到任何内容,请帮忙

最佳答案

清除您的浏览器cookie。您的 dev_appserver_login cookie 已损坏。这将解决堆栈跟踪,但(可能)不能解决字符编码问题。也许其他人对此有想法。

关于java - GAE 应用程序未在 Firefox 中显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19566146/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com