Hi,

could you give more precisions on how you are setting up your runtime
environment please ?
Are you running from Eclipse or are you deploying the war file to an
application server ?

Have you checked your classpath at runtime ? (a System.out.println on the
java.class.path variable could be interesting there).

Boris


2010/10/18 Eyal <[email protected]>

> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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