Hi, Would be nice if you could please explain it in detail. I am also facing the same probem. How can I overcome the same. I have added a crimson-1.1.3.jar in order to import javax.xml.parsers,org.w3c.dom and org.xml.sax packages in a GWt-Ext app. But when I run my app, I get "Line 31: No source code is available for type javax.xml.parsers.DocumentBuilderFactory; did you forget to inherit a required module?" "Line 32: No source code is available for type javax.xml.parsers.DocumentBuilder; did you forget to inherit a required module?" "Line 33: No source code is available for type org.w3c.dom.Document; did you forget to inherit a required module?"
Thanks ds On Mar 9, 10:51 am, Vitali Lovich <[email protected]> wrote: > GWT only implements a very small portion of the JRE (a lot of stuff is not > available from a browser context anyways). So what you're trying to do > apparently is use a Java library within your client code which more likely > than not will not work. > > GWT has two parts to it. Client code that is java translated into > javascript run on the browser & server code which is regular java code > running on a traditional app server. > > Hope this helps > > > > On Mon, Mar 9, 2009 at 12:48 AM, jonathan <[email protected]> wrote: > > > my gwt app relies on external libraries such as > > java.beans.PropertyChangeEvent and my own custom classes from another > > eclipse project. > > what's the best way of incorporating them? > > I added these libs to gwt compiler classpath, but I get > > [ERROR] Line 70: No source code is available for type > > java.beans.PropertyC > > hangeEvent; did you forget to inherit a required module? > > > Do I have to make all external dependencies into a module? please > > help. > > thanks!- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
