Module9 .Testng TestNGAntTask | Selenium Forum
M
Posted on 02/03/2016
getting error taskdef class org.testng.TestNGAntTask cannot be found using the classloader AntClassLoader while compiling build.xml

M
Replied on 02/03/2016

can you send a screen shot.


M
Replied on 03/03/2016

im still getting warning in eclips...but after giving proper folder name containing jar files (c:/jars) it worked fine .... still have dought is TestNGAntTask is some class fount in testng/eclips/ant lib folder
or its just way of declaring task for ant ..needed more explaination


<taskdef name="testng" classpath="${test.classpath}"
classname="org.testng.TestNGAntTask" />

Responsive image

M
Replied on 04/03/2016

send me the build.xml


M
Replied on 07/03/2016

[attachment=1:owabouxn]build.xml[/attachment:owabouxn]


M
Replied on 07/03/2016

could you send me the entire project.


M
Replied on 22/03/2016

[quote="kumarisunita86@gmail.com":gbsmtkkl]getting error taskdef class org.testng.TestNGAntTask cannot be found using the classloader AntClassLoader while compiling build.xml[/quote:gbsmtkkl]

I am also getting the same error. Did you find the solution for this?


M
Replied on 23/03/2016

its a pretty common error. usually happen because of configuration issues with eclipse. send your entire project. i take a look at configuration.