Saturday, April 28, 2012

cannot load RPC service interface from external jar

I make a jar file which contain client side code and a RPC service, serviceAsync interface.
After that, I create an new GWT project and create a RemoteServiceServlet that implements the RPC service in the external jar but there are some error message when I start the dev server:

java.lang.NoClassDefFoundError: xxx/client/XXXService

p.s. I have create a gwt.xml file in the jar:

<module><source path="client"></source></module>

and add line to gwt.xml in new project:

<inherits name='xxx/client/XXX'/>

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment