From: Ryan C. <ry...@AS...> - 2002-12-11 15:04:43
|
I was originally using all the jars that came with htmlunit. After downloading 0.7.1 of Neko, still no luck. After getting the latest xerces, still no luck. org.cyberneko.html.parsers.DOMParser.<init> calls org.apache.xerces.parsers.DOMParser(XMLParserConfiguration), which doesn't exist. This explains why I'm getting the error; now I'm wondering why no one else is. Ryan org.cyberneko.html.parsers.DOMParser.<init> htm...@li... wrote: > Date: Tue, 10 Dec 2002 14:53:06 -0500 > From: Mike Bowler <mb...@Ga...> > Organization: Gargoyle Software > To: htm...@li... > Subject: Re: [HtmlUnit] Error using WebClient.getPage(URL) > > Hi Ryan, > > > Any idea why this might be happening? > > > > Exception in thread "main" java.lang.NoSuchMethodError > > at org.cyberneko.html.parsers.DOMParser.<init>(Unknown Source) > > Off hand, no but Neko recently put out 0.7.1 to fix some bugs. First > thing I'd try is replacing the version of NekoHTML that you have with > the latest to see if that fixes the problem. Assuming that you're using > the last release of HtmlUnit (ie not what's in cvs), you'll be using > NekoHTML 0.6.8. Cvs has the latest version. > > The url for NekoHTML is > http://www.apache.org/~andyc/neko/doc/html/index.html > > Next thing I'd check would be that you're either using the version of > xerces that comes with HtmlUnit or something newer. NekoHTML uses > xerces and may be expecting an api that isn't present in earlier versions. > > Let me know if this helps. |