Monday, February 22, 2021

GWT 2.9, java 11, tomcat 10.0.2 - standard gwt example having RPC error, 404

Thank you for reading. I tried for serveral days but I cannot find why this is going wrong.

I have build a standard Tomcat v10.0.2 server. I have setup my Eclipse with java jdk 11 and using GWT 2.9.0

I Generated the sample code of GWT 2.9.0 with java jdk 11. I compile this succes fully. I deployed the war file to the tomcat server, but then it give me a RPC 404 error. 

According to the tutorials which I read on this should all be in the right place, right coded...still I got the a 404 error on a RPC call.. which means the service isn't there where it suppose to be.

Could somebody please point me in the right direction... 

I already tried. <url-pattern>/local.appletree.Banana/greet</url-pattern> but I have a rename-to in the gwt.xml so banana should be allright.

Thank you in advance Michel.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.9.0//EN"
<module rename-to='banana'>                
  <inherits name=''/>
  <inherits name=''/>
  <entry-point class='local.appletree.client.Banana'/>
  <source path='client'/>
  <source path='shared'/>
  <add-linker name="xsiframe"/>

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi=""

Java interface..
package local.appletree.client;
public interface GreetingService extends RemoteService {
String greetServer(String name) throws IllegalArgumentException;

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

No comments:

Post a Comment