[Webtest] RE: Installation problems

webtest@lists.canoo.com webtest@lists.canoo.com
Tue, 13 May 2003 14:55:53 +0000


Hi,
Thanks for the response but I don't understand it actually.  As far as I know, 
I AM using the jar files that come with the installation.  I need to know 
specifically what I have done wrong, if anyone can help.
-- Lisa
> Send WebTest mailing list submissions to
> 	webtest@lists.canoo.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.canoo.com/mailman/listinfo/webtest
> or, via email, send a message with subject or body 'help' to
> 	webtest-request@lists.canoo.com
> 
> You can reach the person managing the list at
> 	webtest-admin@lists.canoo.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of WebTest digest..."
> 
> 
> Today's Topics:
> 
>    1. Installation problems (lisa.crispin@att.net)
>    2. Re: Installation problems (Scot Hale)
> 
> --__--__--
> 
> Message: 1
> From: lisa.crispin@att.net
> To: webtest@lists.canoo.com
> Date: Mon, 12 May 2003 23:31:59 +0000
> Subject: [Webtest] Installation problems
> Reply-To: webtest@lists.canoo.com
> 
> I installed Canoo on Win2k and the test using installTest.xml runs fine, but I 
> would prefer to use it on Linux.  However, when I try to run the ant -buildfile 
> installTest.xml on Linux, I get the error below.  This is my classpath:
> 
> .:/usr/local/apache-ant-1.5.3-1/lib/ant.jar:/usr/local/apache-ant-1.5.3-
> 1/lib/optional.jar:/usr/local/httpunit-
> 1.5.3/lib/httpunit.jar:/usr/local/httpunit-
> 1.5.3/jars/nekohtml.jar:/usr/local/apache-ant-1.5.3-1/lib/xml-
> apis.jar:/usr/local/apache-ant-1.5.3-1/lib/xercesImpl.jar:/usr/local/apache-ant-
> 1.5.3-1/lib
> 
> Here is the error, can someone help me out?  Thank you!  
> BUILD FAILED
> java.lang.NoSuchMethodError: org.apache.xerces.xni.Augmentations.clear()V
>         at org.cyberneko.html.HTMLScanner.locationAugs(Unknown Source)
>         at org.cyberneko.html.HTMLScanner$ContentScanner.scan(Unknown Source)
>         at org.cyberneko.html.HTMLScanner.scanDocument(Unknown Source)
>         at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source)
>         at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>         at com.meterware.httpunit.parsing.NekoHTMLParser.parse
> (NekoHTMLParser.java:41)
>         at com.meterware.httpunit.HTMLPage.parse(HTMLPage.java:244)
>         at com.meterware.httpunit.WebResponse.getReceivedPage
> (WebResponse.java:975)
>         at com.meterware.httpunit.WebResponse.getDOM(WebResponse.java:427)
>         at com.canoo.webtest.steps.verify.Verify.getAllElementsOfType
> (Verify.java:54)
>         at com.canoo.webtest.steps.verify.VerifyElementText.doExecute
> (VerifyElementText.java:61)
>         at com.canoo.webtest.steps.Step.execute(Step.java:56)
>         at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:32)
>         at com.canoo.webtest.ant.TestSpecificationTask.execute
> (TestSpecificationTask.java:55)
>         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
>         at org.apache.tools.ant.Task.perform(Task.java:341)
>         at org.apache.tools.ant.Target.execute(Target.java:309)
>         at org.apache.tools.ant.Target.performTasks(Target.java:336)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
>         at org.apache.tools.ant.Main.runBuild(Main.java:609)
>         at org.apache.tools.ant.Main.start(Main.java:196)
>         at org.apache.tools.ant.Main.main(Main.java:235)
> 
> Total time: 4 seconds
> 
> --__--__--
> 
> Message: 2
> From: "Scot Hale" <halesm@hotmail.com>
> To: <webtest@lists.canoo.com>
> Subject: Re: [Webtest] Installation problems
> Date: Mon, 12 May 2003 20:52:34 -0700
> Reply-To: webtest@lists.canoo.com
> 
> Lisa,
> 
> I am using it on Linux RedHat 9.0 with success.  I have found that it is
> easier to just use the jars that come with the distribution.  It is sort of
> an on going mystery what the versions and distributions of the canoo webtest
> libaries are.  So when in doubt (or when you get a parsing error such as the
> one you are showing), use the ones that come with the distribution.
> 
> cheers,
> Scot Hale
> ----- Original Message ----- 
> From: <lisa.crispin@att.net>
> To: <webtest@lists.canoo.com>
> Sent: Monday, May 12, 2003 4:31 PM
> Subject: [Webtest] Installation problems
> 
> 
> > I installed Canoo on Win2k and the test using installTest.xml runs fine,
> but I
> > would prefer to use it on Linux.  However, when I try to run the
> ant -buildfile
> > installTest.xml on Linux, I get the error below.  This is my classpath:
> >
> > .:/usr/local/apache-ant-1.5.3-1/lib/ant.jar:/usr/local/apache-ant-1.5.3-
> > 1/lib/optional.jar:/usr/local/httpunit-
> > 1.5.3/lib/httpunit.jar:/usr/local/httpunit-
> > 1.5.3/jars/nekohtml.jar:/usr/local/apache-ant-1.5.3-1/lib/xml-
> >
> apis.jar:/usr/local/apache-ant-1.5.3-1/lib/xercesImpl.jar:/usr/local/apache-
> ant-
> > 1.5.3-1/lib
> >
> > Here is the error, can someone help me out?  Thank you!
> > BUILD FAILED
> > java.lang.NoSuchMethodError: org.apache.xerces.xni.Augmentations.clear()V
> >         at org.cyberneko.html.HTMLScanner.locationAugs(Unknown Source)
> >         at org.cyberneko.html.HTMLScanner$ContentScanner.scan(Unknown
> Source)
> >         at org.cyberneko.html.HTMLScanner.scanDocument(Unknown Source)
> >         at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source)
> >         at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source)
> >         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> >         at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> >         at com.meterware.httpunit.parsing.NekoHTMLParser.parse
> > (NekoHTMLParser.java:41)
> >         at com.meterware.httpunit.HTMLPage.parse(HTMLPage.java:244)
> >         at com.meterware.httpunit.WebResponse.getReceivedPage
> > (WebResponse.java:975)
> >         at com.meterware.httpunit.WebResponse.getDOM(WebResponse.java:427)
> >         at com.canoo.webtest.steps.verify.Verify.getAllElementsOfType
> > (Verify.java:54)
> >         at com.canoo.webtest.steps.verify.VerifyElementText.doExecute
> > (VerifyElementText.java:61)
> >         at com.canoo.webtest.steps.Step.execute(Step.java:56)
> >         at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:32)
> >         at com.canoo.webtest.ant.TestSpecificationTask.execute
> > (TestSpecificationTask.java:55)
> >         at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
> >         at org.apache.tools.ant.Task.perform(Task.java:341)
> >         at org.apache.tools.ant.Target.execute(Target.java:309)
> >         at org.apache.tools.ant.Target.performTasks(Target.java:336)
> >         at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
> >         at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
> >         at org.apache.tools.ant.Main.runBuild(Main.java:609)
> >         at org.apache.tools.ant.Main.start(Main.java:196)
> >         at org.apache.tools.ant.Main.main(Main.java:235)
> >
> > Total time: 4 seconds
> > _______________________________________________
> > WebTest mailing list
> > WebTest@lists.canoo.com
> > http://lists.canoo.com/mailman/listinfo/webtest
> >
> 
> 
> --__--__--
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
> 
> 
> End of WebTest Digest