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 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 .

只能是等新版本了...

 

 


GXT 2.1.0 在 GWT 2.0 运行报错.(在使用分页的时候)_第1张图片

 

你可能感兴趣的:(java,UI,servlet,Google,gwt)