com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:

在网上下载的例子,跑起来很都会抛这个异常

com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser. ( Expecting version 5 from client, got 7. )

 

原因:the older version of
GWT SDK (and hence the older gwt-servlet.jar during compilation).

 

解决:自己新建一个工程,把/war/WEB-INF/lib/gwt-servlet.jar 替换就可以

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