This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Testing and the fly likes [ClassHelper] Could not instantiate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "[ClassHelper] Could not instantiate" Watch "[ClassHelper] Could not instantiate" New topic

[ClassHelper] Could not instantiate

Smita Upadhyay

Joined: Sep 14, 2009
Posts: 1
Hi All,
I am trying to run my test cases in Eclipse using Testng..........earlier It was running fine ...I donnt know why but its giving error now. Below I am giving Stack Trace..
[org.testng.internal.annotations.JDK14AnnotationFinder] [WARNING] Invalid source directory -d ignored
[Parser] Running:

[ClassHelper] Could not instantiate TestDelete2: TestDelete2
[ClassHelper] Could not instantiate TestDelete2: TestDelete2

Total tests run: 0, Failures: 0, Skips: 0

Cannot find class in classpath: TestDelete2
at org.testng.xml.XmlClass.getSupportClass(
at org.testng.internal.Utils.xmlClassesToClasses(
at org.testng.TestRunner.initMethods(
at org.testng.TestRunner.init(
at org.testng.TestRunner.init(
at org.testng.TestRunner.<init>(
at org.testng.remote.RemoteTestNG$1.newTestRunner(
at org.testng.remote.RemoteTestNG$DelegatingTestRunnerFactory.newTestRunner(
at org.testng.SuiteRunner$ProxyTestRunnerFactory.newTestRunner(
at org.testng.SuiteRunner.privateRun(
at org.testng.TestNG.createAndRunSuiteRunners(
at org.testng.TestNG.runSuitesLocally(
at org.testng.remote.RemoteTestNG.main(

I need urgent help. Please, Reply soon...
I agree. Here's the link:
subject: [ClassHelper] Could not instantiate
It's not a secret anymore!