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 https://groups.google.com/d/msg/google-web-toolkit/-/IEeIX-Ui5qUJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment