GXT 2.1.0 在 GWT 2.0 运行报错.(在使用分页的时候)-阿里云开发者社区

开发者社区> 开发与运维> 正文
登录阅读全文

GXT 2.1.0 在 GWT 2.0 运行报错.(在使用分页的时候)

简介: 2009-12-15 6:27:32 com.google.appengine.tools.development.ApiProxyLocalImpl log SEVERE: [1260858452812000] javax.servlet.ServletContext log: UserInfoService: An IncompatibleRemoteServiceException w
2009-12-15 6:27:32 com.google.appengine.tools.development.ApiProxyLocalImpl log
SEVERE: [1260858452812000] javax.servlet.ServletContext log: UserInfoService: An IncompatibleRemoteServiceException was thrown while processing this call.
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Type 'com.extjs.gxt.ui.client.data.BasePagingLoadConfig' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer.  For security purposes, this type will not be deserialized.
	at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:298)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
	at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
	at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:121)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:352)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:313)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'com.extjs.gxt.ui.client.data.BasePagingLoadConfig' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer.  For security purposes, this type will not be deserialized.
	at com.google.gwt.user.server.rpc.impl.LegacySerializationPolicy.validateDeserialize(LegacySerializationPolicy.java:123)
	at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:490)
	at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:61)
	at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader$ValueReader$8.readValue(ServerSerializationStreamReader.java:131)
	at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeValue(ServerSerializationStreamReader.java:372)
	at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:287)
	... 27 more

 

从网上下载了GWT 2.0 的eclipse 插件.和extjs上面下载了最新的GXT 2.1.0

 

运行时候开始的时候报编译警告.在使用分页的时候报错.说是

 

Compiling module com.toeoso.test.NoteModule
   Scanning for additional dependencies: file:/L:/new_workspace/workspace_win_3.4_ganymede_gwt/freeweb_oa/src/com/toeoso/test/client/panel/NoteListPanel.java
      Adding '48' new generated units
         Validating newly compiled units
            [WARN] Warnings in 'generated://A9A0653600147C5C390EE8094B0BB818/com/toeoso/test/client/async/NoteService_TypeSerializer.java'
               [WARN] Line 107: Referencing deprecated class 'com.google.gwt.user.client.ui.ChangeListenerCollection'
               [WARN] Line 112: Referencing deprecated class 'com.google.gwt.user.client.ui.ClickListenerCollection'
               [WARN] Line 117: Referencing deprecated class 'com.google.gwt.user.client.ui.FocusListenerCollection'
               [WARN] Line 122: Referencing deprecated class 'com.google.gwt.user.client.ui.FormHandlerCollection'
               [WARN] Line 127: Referencing deprecated class 'com.google.gwt.user.client.ui.KeyboardListenerCollection'
               [WARN] Line 132: Referencing deprecated class 'com.google.gwt.user.client.ui.LoadListenerCollection'
               [WARN] Line 137: Referencing deprecated class 'com.google.gwt.user.client.ui.MouseListenerCollection'
               [WARN] Line 142: Referencing deprecated class 'com.google.gwt.user.client.ui.MouseWheelListenerCollection'
               [WARN] Line 147: Referencing deprecated class 'com.google.gwt.user.client.ui.PopupListenerCollection'
               [WARN] Line 152: Referencing deprecated class 'com.google.gwt.user.client.ui.ScrollListenerCollection'
               [WARN] Line 157: Referencing deprecated class 'com.google.gwt.user.client.ui.TabListenerCollection'
               [WARN] Line 162: Referencing deprecated class 'com.google.gwt.user.client.ui.TableListenerCollection'
               [WARN] Line 167: Referencing deprecated class 'com.google.gwt.user.client.ui.TreeListenerCollection'
               See snapshot: D:\myDoc\desk_top\LOCALS~1\Temp\NoteService_TypeSerializer8636706275397006641.java
   Compiling 12 permutations
      Compiling permutation 0...
      Compiling permutation 1...
      Compiling permutation 2...
      Compiling permutation 3...
      Compiling permutation 4...
      Compiling permutation 5...
      Compiling permutation 6...
      Compiling permutation 7...
      Compiling permutation 8...
      Compiling permutation 9...
      Compiling permutation 10...
      Compiling permutation 11...
 

 

编译的时候就报错..分页也没有显示出来...

 

看了下extjs 上面说 只是支持 GWT 1.5 .

只能是等新版本了...

 

 


 

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

分享:
开发与运维
使用钉钉扫一扫加入圈子
+ 订阅

集结各类场景实战经验,助你开发运维畅行无忧

其他文章
最新文章
相关文章