Friday, June 29, 2018

Re: GWT2.8 : org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration



Am Dienstag, 25. Oktober 2016 14:21:40 UTC+2 schrieb Ian Whyman:
It seems still to be an issue with the final 2.8.0 release

Ian


I recently upgraded to GWT 2.8.2 (from the old version 2.6.0) I ran into the same problem ("org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration").

What I would like to understand is, is the Xerces version packaged with GWT 2.8.2 (gwt-dev.jar) incompatible? The fix with 

-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl

seems to work.

So are we talking about a kind of dependency-problem with GWT (2.8.0+)?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment