Thank you to all who helped me on this (notably Ian B).  I finally
figured out the problem, and I am much happier!  In the ".gwt.xml"
file for the library project I had left the "entry-point" and
"servlet" elements in the XML; these elements were originally in the
file for purposes of testing the library, and it seems that they cause
a problem when running the project that uses the library.  The library
gwt.xml file now contains just four lines:

<module>
      <inherits name='com.google.gwt.user.User'/>
      <inherits name='com.google.gwt.xml.XML'/>
</module>

I should say that I <b>think</b> that this was the reason for the
problem, since I changed many things trying to figure out the problem.

A couple of other things that came up when I was using my new library
in another project:
- It is important to make the class that represents the object that is
instantiated by the web server "public" (i.e., the class that extends
RemoteServiceServlet, and that is referenced in the gwt.xml project
file) ... I had originally created a package private class, and this
prevents the web server (in my case, Tomcat) from instantiating an
object.
- The GWT Development Shell is very explicit about this problem ... it
shows the instantiation exception returned from Tomcat (it is
necessary to expand the top level error in the Development Shell if
you want to see this exception).

Thanks again!  Onward and upward!

Andy

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to