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.

On Wednesday, August 18, 2010 12:45:57 PM UTC+2, Xavier wrote:
>
> Hello, 
>
> I have a problem. I parser a xml from the server, but the following 
> error occurs: 
>
> "Caused by: java.lang.NoClassDefFoundError: Could not initialize class 
> com.google.gwt.xml.client.XMLParser" 
>
> I understand that this package can not be used on the server. 
>
> Could someone tell me how I colud parser an XML on  the server side. 
>
> Thanks in advance. 
>
> Sincerely, 
>
> Xavier


On Wednesday, August 18, 2010 12:45:57 PM UTC+2, Xavier wrote:
>
> Hello, 
>
> I have a problem. I parser a xml from the server, but the following 
> error occurs: 
>
> "Caused by: java.lang.NoClassDefFoundError: Could not initialize class 
> com.google.gwt.xml.client.XMLParser" 
>
> I understand that this package can not be used on the server. 
>
> Could someone tell me how I colud parser an XML on  the server side. 
>
> Thanks in advance. 
>
> Sincerely, 
>
> Xavier


On Wednesday, August 18, 2010 12:45:57 PM UTC+2, Xavier wrote:
>
> Hello, 
>
> I have a problem. I parser a xml from the server, but the following 
> error occurs: 
>
> "Caused by: java.lang.NoClassDefFoundError: Could not initialize class 
> com.google.gwt.xml.client.XMLParser" 
>
> I understand that this package can not be used on the server. 
>
> Could someone tell me how I colud parser an XML on  the server side. 
>
> Thanks in advance. 
>
> Sincerely, 
>
> Xavier

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/cMxRKz244gQJ.
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