我有一个GWT应用程序托管在谷歌应用程序引擎上。在我将RPC方法重命名为"test()“之前,它一直运行得很好,现在我得到了以下错误:
javax.servlet.ServletContext log: greetServlet: An IncompatibleRemoteServiceException was thrown while processing this call.
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date,
please click the refresh button on your browser. ( Could not locate requested method 'test(java.lang.String, long)' in interface 'de.test.client.GreetingService' )由于某些原因,它仍然在寻找该方法的旧签名。我已经编译和清理了我的项目几次,并重新部署了它,我清除了浏览器缓存,并尝试了不同的浏览器。在Dev-Mode中,它也工作得很好。
应用程序引擎中有没有一些额外的缓存构建?有没有人遇到过类似的问题?
发布于 2014-06-08 01:01:43
确保此方法的签名在服务、ServiceAsync和ServiceImpl中相同。例如,确保它是长的,而不是到处都是“长”。
https://stackoverflow.com/questions/24097297
复制相似问题