Hi Linda, The reason why you get the "import javax.xml cannot be resolved" and other problematic import resolutions is because these are not supported in the GWT emulated JRE (see doc link below). As the GWT code you right gets cross-compiled into JavaScript that will run in the browser, there is no meaningful equivalent for the types you imported in the JS world.
GWT Emulated JRE: http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html However, it seems like for the types of things that you wanted to do with those packages (work directly with the DOM, you can use the equivalent DOM and XML parsing APIs linked below. DOM API: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/DOM.html XMLParser API: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/xml/client/XMLParser.html As for the gwt-math project supporting doubleValue() on the BigDecimal type, I don't think the team working on the project has had a chance to get around to adding support for it just yet (see Issue #9 below on the gwt-math issue tracker). Issue #9: http://code.google.com/p/gwt-math/issues/detail?id=9 Hope that helps, -Sumit Chandel On Mon, Jun 8, 2009 at 12:22 PM, Linda <linda.ctr.c...@faa.gov> wrote: > > I and using eclipse to compile my gwt - 1.6 project. From Eclipse I do > not get any compilation errors. When I run my web application, I get: > > "The import javax.xml cannot be resolved" > "The import org.w3c cannot be resolved" > > And Something about can't regonize "BigDecimal" as a type. > > I downloaded gwt-math.jar (2.0), but it does not support any double > functions inside Bigdecimal. For example, I get: "The method > doubleValue() is undefined for the type BigDecimal". > > Any idea I can solve these issues? > > Thanks. > > - Linda > > > --~--~---------~--~----~------------~-------~--~----~ 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-Toolkit@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 -~----------~----~----~----~------~----~------~--~---