[Webtest] Class VerifyElementText cannot be found

Smith, John C webtest@lists.canoo.com
Fri, 2 Apr 2004 14:38:49 -0600


This is a multi-part message in MIME format.

------_=_NextPart_001_01C418F2.80FA8F65
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


Can anyone help me identify a solution for this problem?


Build output:

Apache Ant version 1.5.2 compiled on February 28 2003
Buildfile: all_tests.xml
Detected Java version: 1.4 in: D:\j2sdk1.4.2_03\jre
Detected OS: Windows 2000


fileset: Setup scanner in dir D:\java\Canoo_Build432 with patternSet{
includes: [/lib/*.jar] excludes: [] }
  [taskdef] Loading definitions from file
D:\java\Canoo_Build432\webtestTaskdefs.properties
Finding class com.canoo.webtest.steps.verify.VerifyElementText

BUILD FAILED
file:D:/java/Canoo_Build432/test_root/all_tests.xml:24: taskdef class
com.canoo.webtest.steps.verify.VerifyElementText cannot be found
	at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:236)
	at
org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
	at
org.apache.tools.ant.helper.ProjectHelperImpl$TaskHandler.finished(Proje
ctHelperImpl.java:821)
	at
org.apache.tools.ant.helper.ProjectHelperImpl$AbstractHandler.endElement
(ProjectHelperImpl.java:300)
	at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
	at
org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl.ja
va:155)
	at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:1
17)
	at org.apache.tools.ant.Main.runBuild(Main.java:596)
	at org.apache.tools.ant.Main.start(Main.java:196)
	at org.apache.tools.ant.Main.main(Main.java:235)
Caused by: java.lang.ClassNotFoundException:
com.canoo.webtest.steps.verify.VerifyElementText
	at
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader
.java:1075)
	at
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1036)
	at
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:925)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
	at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:230)
	... 16 more
--- Nested Exception ---
java.lang.ClassNotFoundException:
com.canoo.webtest.steps.verify.VerifyElementText
	at
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader
.java:1075)
	at
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1036)
	at
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:925)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
	at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:230)
	at
org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
	at
org.apache.tools.ant.helper.ProjectHelperImpl$TaskHandler.finished(Proje
ctHelperImpl.java:821)
	at
org.apache.tools.ant.helper.ProjectHelperImpl$AbstractHandler.endElement
(ProjectHelperImpl.java:300)
	at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
	at
org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl.ja
va:155)
	at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:1
17)
	at org.apache.tools.ant.Main.runBuild(Main.java:596)
	at org.apache.tools.ant.Main.start(Main.java:196)
	at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 13 seconds
Process ant exited with code 0
> ant -buildfile all_tests.xml=20


------_=_NextPart_001_01C418F2.80FA8F65
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.6487.1">
<TITLE>Class VerifyElementText cannot be found</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Century Gothic">Can anyone =
help me identify a solution for this problem?</FONT>
</P>
<BR>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Century Gothic">Build =
output:</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Century Gothic">Apache Ant =
version 1.5.2 compiled on February 28 2003</FONT>

<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Century Gothic">Buildfile: =
all_tests.xml</FONT>

<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Century Gothic">Detected =
Java version: 1.4 in: D:\j2sdk1.4.2_03\jre</FONT>

<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Century Gothic">Detected =
OS: Windows 2000</FONT>
</P>
<BR>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Century Gothic">fileset: =
Setup scanner in dir D:\java\Canoo_Build432 with patternSet{ includes: =
[/lib/*.jar] excludes: [] }</FONT>

<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Century Gothic">&nbsp; =
[taskdef] Loading definitions from file =
D:\java\Canoo_Build432\webtestTaskdefs.properties</FONT>

<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Century Gothic">Finding =
class com.canoo.webtest.steps.verify.VerifyElementText</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Century Gothic">BUILD =
FAILED</FONT>

<BR><A =
HREF=3D"file:D:/java/Canoo_Build432/test_root/all_tests.xml:24"><U></U><U=
><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Century =
Gothic">file:D:/java/Canoo_Build432/test_root/all_tests.xml:24</FONT></U>=
</A><FONT SIZE=3D2 FACE=3D"Century Gothic">: taskdef class =
com.canoo.webtest.steps.verify.VerifyElementText cannot be =
found</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:236)</FO=
NT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.helper.ProjectHelperImpl$TaskHandler.finished(Projec=
tHelperImpl.java:821)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.helper.ProjectHelperImpl$AbstractHandler.endElement(=
ProjectHelperImpl.java:300)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown =
Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unkn=
own Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDisp=
atcher.dispatch(Unknown Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknow=
n Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl.jav=
a:155)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:11=
7)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.Main.runBuild(Main.java:596)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.Main.start(Main.java:196)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.Main.main(Main.java:235)</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Century Gothic">Caused by: =
java.lang.ClassNotFoundException: =
com.canoo.webtest.steps.verify.VerifyElementText</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.=
java:1075)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1036)</=
FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:925)</F=
ONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
java.lang.ClassLoader.loadClass(ClassLoader.java:235)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:230)</FO=
NT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">... 16 more</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Century Gothic">--- Nested Exception =
---</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Century =
Gothic">java.lang.ClassNotFoundException: =
com.canoo.webtest.steps.verify.VerifyElementText</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.=
java:1075)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1036)</=
FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:925)</F=
ONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
java.lang.ClassLoader.loadClass(ClassLoader.java:235)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:230)</FO=
NT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.helper.ProjectHelperImpl$TaskHandler.finished(Projec=
tHelperImpl.java:821)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.helper.ProjectHelperImpl$AbstractHandler.endElement(=
ProjectHelperImpl.java:300)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown =
Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unkn=
own Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDisp=
atcher.dispatch(Unknown Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknow=
n Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl.jav=
a:155)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:11=
7)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.Main.runBuild(Main.java:596)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.Main.start(Main.java:196)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Century Gothic">at =
org.apache.tools.ant.Main.main(Main.java:235)</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Century Gothic">Total time: 13 seconds</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Century Gothic">Process ant exited with code =
0</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Century Gothic">&gt; ant -buildfile =
all_tests.xml </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C418F2.80FA8F65--