The abc.jar does not include any client packages as far as I can tell. Since the above post I've changed this project so that a few files from abc.jar now implement IsSerializable so they can be passed to the client. As a result, abc is now a GWT module which I import into my GWT app. Most of the functionality in abc.jar, however, is strictly server side. When I try to GWT compile my GWT app (using mvn gwt:compile) I now get lots of import errors such as: No source code is available for type java.io.InputStream; did you forget to inherit a required module?
This problem just became more urgent now as I cannot deploy to Tomcat to test there. Any help on this would be greatly appreciated. On Jan 6, 11:03 am, Rohit Bansal <rbansal...@gmail.com> wrote: > Hi > > I think there are client packages in your abc.jar. And GWT is giving > you warning about these client packages as on server there should not > be client packages. > > Regards > > Rohit > > On Jan 6, 9:23 am, Rob Wood <rob.a.w...@gmail.com> wrote: > > > > > In my GWT app my RemoteService implementation executes code from > > abc.jar that has server-side only Java code. I have included abc.jar > > in my project's class path, but it does not belong to any module > > inherited by this project's module. When I run this app in Hosted > > Mode I get tons of Error messages in the console for classes in > > abc.jar, such as: Validating newly compiled units ... No source code > > is available for type ...; did you forget to inherit a required > > module? > > > Since these classes are server-side only the GWT compiler should not > > be considering them at all. What is curious is that on the server > > side also I'm using some Spring jar files and GWT does not complain > > about these. The application runs in spite of these errors, but > > writing them to the console really slows down debugging. > > My environment: GWT 2.0, Eclipse 3.5 (SpringSource Tool Suite), JDK > > 1.5 > > > Thanks for any guidance you can give me.
-- 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.