Hi all, I have a similar problem.
If I wanted to share a class that has a method 'loadXmlString(String xml)' and I wanted to use it sometims client side, sometimwes server side, how could I do? I see that client side this works using com.google.gwt.xml.client.* classes, but when I try to execute it server side, a "java.lang.NoClassDefFoundError: Could not initialize class com.google.gwt.xml.client.XMLParser" error occurs. How can I solve this problem? Do I have to implement the same parsing algorithm twice? One client side and one server side? I can't believe that!
Please help.