Hi,
I have a gwt project, called "base". It has a class in its "server" package, Foo.java:
com.me.test.server.Foo;
I have another gwt project called "zebra", which references project "base". This is done in eclipse, in the Java Build Path settings.
I'm trying to use the Foo class server-side in the "zebra" project. Both projects compile and deploy fine, but "zebra" throws a ClassNotFoundException for the Foo class when I try to use it at runtime (all server side).
I chose the option in eclipse to export "base" (in the Order and Export settings), but still no luck. The "zebra" project also imports "base" via the gwt module xml file, but I don't think that matters here since this is server-side code. All the clientside classes that are inherited from "base" work fine:
// in zebra's gwt.xml file:
<inherits name='com.me.test.Base' />
Do we need a special directive to get "zebra" to also include the server classes from "base" when it is deployed? Everything compiles fine.
Thank you