From: Markus J. <mar...@op...> - 2019-07-22 10:39:12
|
Ah, that works indeed. It was a case of removing an xml-apis jar from somewhere on the classpath. Thanks, Markus -----Original message----- > From:Ronald Brill <rb...@rb...> > Sent: Sunday 21st July 2019 14:24 > To: htm...@li...; Markus Jelsma <mar...@op...> > Subject: Re: [Htmlunit-user] ClassCastException, unable to obtain hyperlinks added to the DOM by Javascript > > On Mon, 15 Jul 2019 16:21:57 +0000 Markus Jelsma wrote: > > > >Caused by: java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory > > > > This usuall point to a classpath problem (or some other module instanziating a different XMLParser as the one (Xerxes) HtmlUnit requires. > > > > RBRi > -------------------------- > WETATOR > Smart web application testing > http://www.wetator.org > |