How to resolve an IncompatibleRemoteServiceException in GWT?

后端 未结 3 1657
無奈伤痛
無奈伤痛 2021-01-20 17:12

I\'ve created a new GWT project through the Eclipse plugin - and just trying to call this server side function. I deleted the initial \"greet\" function which was created wi

相关标签:
3条回答
  • 2021-01-20 17:44

    Got the same problem than you and I fix it just right now : If your error don't show up if you don't send your call, it's because the call to the server don't work. I found that JS on your client side don't refresh properly. try to restart your server then refresh your browser by refreshing the local cached version. if my explanation is too complex : clear cache. On chrome you can use crtl-f5 instead of just f5 and on firefox ctrl-R.

    0 讨论(0)
  • 2021-01-20 17:44

    I initialized the GWT project using Maven (https://gwt-maven-plugin.github.io/gwt-maven-plugin/). After rebuilding the Maven project the problem is gone. Apparently there were some stale files causing conflicts.

    0 讨论(0)
  • 2021-01-20 18:06

    I had the same problem, I eventually fixed it by deleting the contents of WEB-INF\classes as it was caching up some old stuff in there.

    Obviously also try clearing down C:\Users...\AppData\Local\Temp as that is a common GWT problem..

    0 讨论(0)
提交回复
热议问题