You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by sh...@netscape.net on 2005/03/31 11:42:15 UTC

Dependencies for HtmlUnit

Hi all,
I am just trying to get a maven project running which uses htmlunit.
I just need to know, which dependencies I need to include into my 
project, when I want to run JUnit testcases which are implemented by 
htmlunit.
After adding a couple of dependencies I am getting the 
exception below - I guess I am still missing something.
BTW: Is there any easy way to find out all dependencies I need to include?
Yours
Stefan

Testcase: testIndexPage(dcs.rechnungen.webapp.TestIndexPage): Caused an ERROR
null
org.apache.xerces.xni.XNIException
  at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1860)
  at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:789)
  at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:478)
  at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:431)
  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:332)
  at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:257)
  at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:115)
  at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:84)
  at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:694)
  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:361)
  at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:400)
  at dcs.rechnungen.webapp.TestIndexPage.testIndexPage(TestIndexPage.java:27)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Dependencies for HtmlUnit

Posted by Vincent Massol <vm...@pivolis.com>.
Even better: http://htmlunit.sourceforge.net/dependencies.html

-Vincent

> -----Original Message-----
> From: Nicolas Chalumeau [mailto:nicolas.chalumeau@gmail.com]
> Sent: jeudi 31 mars 2005 14:18
> To: Maven Users List
> Subject: Re: Dependencies for HtmlUnit
> 
> For the dependancies a good thing is to look in the pom of this
> project : http://www.ibiblio.org/maven/htmlunit/poms/
> 
> Nicolas,
> 
> On Thu, 31 Mar 2005 04:42:15 -0500, shoening@netscape.net
> <sh...@netscape.net> wrote:
> > Hi all,
> > I am just trying to get a maven project running which uses htmlunit.
> > I just need to know, which dependencies I need to include into my
> > project, when I want to run JUnit testcases which are implemented by
> > htmlunit.
> > After adding a couple of dependencies I am getting the
> > exception below - I guess I am still missing something.
> > BTW: Is there any easy way to find out all dependencies I need to
> include?
> > Yours
> > Stefan
> >
> > Testcase: testIndexPage(dcs.rechnungen.webapp.TestIndexPage): Caused an
> ERROR
> > null
> > org.apache.xerces.xni.XNIException
> >   at
> org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1860)
> >   at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:789)
> >   at
> org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:478)
> >   at
> org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:431)
> >   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> >   at
> com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTM
> LParser.java:332)
> >   at
> com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:257)
> >   at
> com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPag
> eCreator.java:115)
> >   at
> com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCre
> ator.java:84)
> >   at
> com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java
> :694)
> >   at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:361)
> >   at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:400)
> >   at
> dcs.rechnungen.webapp.TestIndexPage.testIndexPage(TestIndexPage.java:27)
> >   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >   at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 39)
> >   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:25)
> >
> > __________________________________________________________________
> > Switch to Netscape Internet Service.
> > As low as $9.95 a month -- Sign up today at
> http://isp.netscape.com/register
> >
> > Netscape. Just the Net You Need.
> >
> > New! Netscape Toolbar for Internet Explorer
> > Search from anywhere on the Web and block those annoying pop-ups.
> > Download now at http://channels.netscape.com/ns/search/install.jsp
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Dependencies for HtmlUnit

Posted by Nicolas Chalumeau <ni...@gmail.com>.
For the dependancies a good thing is to look in the pom of this
project : http://www.ibiblio.org/maven/htmlunit/poms/

Nicolas,

On Thu, 31 Mar 2005 04:42:15 -0500, shoening@netscape.net
<sh...@netscape.net> wrote:
> Hi all,
> I am just trying to get a maven project running which uses htmlunit.
> I just need to know, which dependencies I need to include into my
> project, when I want to run JUnit testcases which are implemented by
> htmlunit.
> After adding a couple of dependencies I am getting the
> exception below - I guess I am still missing something.
> BTW: Is there any easy way to find out all dependencies I need to include?
> Yours
> Stefan
> 
> Testcase: testIndexPage(dcs.rechnungen.webapp.TestIndexPage): Caused an ERROR
> null
> org.apache.xerces.xni.XNIException
>   at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1860)
>   at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:789)
>   at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:478)
>   at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:431)
>   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>   at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:332)
>   at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:257)
>   at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:115)
>   at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:84)
>   at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:694)
>   at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:361)
>   at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:400)
>   at dcs.rechnungen.webapp.TestIndexPage.testIndexPage(TestIndexPage.java:27)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 
> __________________________________________________________________
> Switch to Netscape Internet Service.
> As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
> 
> Netscape. Just the Net You Need.
> 
> New! Netscape Toolbar for Internet Explorer
> Search from anywhere on the Web and block those annoying pop-ups.
> Download now at http://channels.netscape.com/ns/search/install.jsp
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org