gpt4 book ai didi

jakarta-ee - com.google.gwt.user.client.rpc.StatusCodeException : 404

转载 作者:行者123 更新时间:2023-12-03 08:58:52 26 4
gpt4 key购买 nike

我在Google GWT中遇到以下错误404:
“Google App Engine Java和GWT应用程序开发代码。”

该程序称为connactr。

[ERROR] [connectr] - com.google.gwt.user.client.rpc.StatusCodeException: 404 <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 404 NOT_FOUND</title>
</head>
<body>
<h2>HTTP ERROR: 404</h2>
<p>Problem accessing /connectr/loginService. Reason:
<pre> NOT_FOUND</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
</body>
</html>

我的web.xml:
  <!-- ===================== Login Service ===================== -->
<servlet>
<servlet-name>loginService</servlet-name>
<servlet-class>com.metadot.book.connectr.server.LoginServiceImpl</servlet-class>

</servlet>

<servlet-mapping>
<servlet-name>loginService</servlet-name>
<url-pattern>/connectr/loginService</url-pattern>
</servlet-mapping>

jetty 给的异常(exception):
   java.lang.VerifyError: Expecting a stackmap frame at branch target 188 in method     com.metadot.book.connectr.server.servlets.LoginFilter.doFilter(Ljavax/servlet/ServletReques
t;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V at offset 8
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404)
at java.lang.Class.getConstructor0(Class.java:2714)
at java.lang.Class.newInstance0(Class.java:343)
at java.lang.Class.newInstance(Class.java:325)
at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:92)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:662)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:197)
at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:241)
at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:148)
at com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:97)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)
at com.google.gwt.dev.DevMode.main(DevMode.java:311)

具有相关的impl类。
知道有什么问题吗?

先感谢您,
伊丹

最佳答案

您共享的404错误信息太少了。您需要共享gwt在服务器端抛出的确切异常,以获得明确的答案。

  • 首先检查您是否具有相关的impl类,以及它是否在claaspath中,即 jetty 应该加载它。
  • 检查是否在从客户端进行rpc调用时实例化了它。您的rpc服务调用是否达到了正确的服务隐含。
  • 检查并解决在服务器端抛出的任何异常服务impl。
  • 关于jakarta-ee - com.google.gwt.user.client.rpc.StatusCodeException : 404,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13831369/

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