Remove from your Test.gwt.xml the tag <entry-point class="com.me.test.client.Test"/>. And yes, in your case, the xml file must be at the same level with the "client" package.
On 1/31/2010 9:01 PM, markww wrote:
Hi,

I have a typical project structure that I'd like to export into a jar
for import as a module into another gwt project:

   src
      com.me.test
         client
            Blah.java
         Test.gwt.xml

so "Test.gwt.xml" is at the same level as the "client" package. My
second project inherits it like this in its xml file:

    <inherits name="com.me.test.Test"/>

When I export and use in my other project, all is well until I run it
(compiles fine). I get this error at load time:


14:58:37.865 [TRACE] [testdemo] Finding entry point classes
14:58:37.868 [ERROR] [testdemo] Unable to find type
'com.me.test.client.Test'
14:58:37.888 [ERROR] [testdemo] Hint: Check that the type name
'com.me.test.client.Test' is really what you meant
14:58:37.927 [ERROR] [testdemo] Hint: Check that your classpath
includes all required source roots

so it looks like it's expecting the Test.gwt.xml file to actually be
under the "client" package, instead of where GWT puts that file for
you by default when it creates a new project, is that right? I see
other posts here where other users have their gwt.xml file located at
the same level as me - I don't get why in my case it's saying it
should be under the client package. Any help would be great,

Thanks


--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to