Hey Ian, One more thought: SubProject wouldn't happen to be the name of an RPC service, would it? A request for http://localhost/SubProject (missing the module base) would be interpreted as a request for a module named SubProject (no package).
I can't actually take credit for thinking of that. Google turned up a comment on Robert Hanson's blog. But I'm hopeful that's the problem you're seeing. Comment January 01, 2007 10:10 AM: http://roberthanson.blogspot.com/2006/06/trivial-gwt-example.html - Isaac On Thu, Mar 5, 2009 at 4:30 PM, Ian Bambury <[email protected]> wrote: > Hi Isaac, > Thanks for the reply. > Well, it's there under 'Classpath' in 'Run Configurations', and I can't see > any difference between anything in this project and another which does the > same thing and works OK. > But obviously there is a difference somewhere. > Ian > > http://examples.roughian.com > > > 2009/3/5 Isaac Truett <[email protected]> >> >> How are you starting hosted mode? >> >> If you're using the foo-shell generated script, did you add the jar to >> the classpath there? >> >> If you're using an Eclipse launch profile, does that profile's >> classpath include the jar (either directly or by inheriting it from >> the project's classpath)? >> >> If both of those check out... maybe a typo in the <inherits> tag? >> >> >> On Thu, Mar 5, 2009 at 3:48 PM, Ian Bambury <[email protected]> wrote: >> > I don't have to do this very often, and I always get this, and I never >> > remember what I did to fix it last time... >> > OK, so I've got a project and I want to include a jar of another >> > project. >> > Eclipse is happy (in as much as it can find the source) >> > Hosted mode gives me "Unable to find 'SubProject.gwt.xml' on your >> > classpath" >> > etc. >> > There's an inherits in the main project's gwt.xml >> > It appears to find the package (otherwise it would be "Unable to find >> > 'com.package.SubProject.gwt.xml' on your classpath" etc. and there would >> > be >> > an unexpected exception message) >> > The jar is visible under Referenced Libraries and the gwt.xml file is >> > there. >> > I can view all the source. >> > So what have I missed? >> > Cheers, >> > Ian >> > > >> > >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
