Hi all,

I am using Rome to parse RSS feeds in my GWT application. When I'm
running the code, which is generic, as a Java application all is well.
But when I'm attempting to do it through GWT I'm getting the
following:

com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract java.lang.String
com.myapp.client.GreetingService.listUsers() throws
java.lang.IllegalArgumentException' threw an unexpected exception:
java.lang.NoClassDefFoundError: com/sun/syndication/io/XmlReader

The class in question, com.sun.syndication.io.XmlReader is part of
xerces. I've added the xerces jars (including the impl) to the project
(in Eclipse) but then I get this:

WARNING: Nested in javax.xml.parsers.FactoryConfigurationError:
Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found:
java.lang.ClassNotFoundException:
org.apache.xerces.jaxp.SAXParserFactoryImpl

Researching this a bit, I found that there is probably a conflict
between two SAXParserFactoryImpl classes. This problem is associated
with gwt-gears, or gwt-gadgets. But I am not using any of them.

My project is a simple GWT with very little code in it, and it was
generated through the Eclipse plugin.

Any ideas? I'll greatly appreciate it...

Thanks,
Eyal

-- 
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.

Reply via email to