File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Cactus java.lang.ClassNotFoundException: org.apache.cactus.server.runner.ServletTestRunner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Cactus java.lang.ClassNotFoundException: org.apache.cactus.server.runner.ServletTestRunner" Watch "Cactus java.lang.ClassNotFoundException: org.apache.cactus.server.runner.ServletTestRunner" New topic

Cactus java.lang.ClassNotFoundException: org.apache.cactus.server.runner.ServletTestRunner

Satyajeet Kadam
Ranch Hand

Joined: Oct 19, 2006
Posts: 224
I am trying the tutorial given in the website webpage. For this tutorial using cactus 1.8.1, jboss-4.2.0.GA, and Intellij or netbeans.

After following steps in the tutorial i am getting error as follows

From the error it seems that jar file is missing from classpath but i have already have jar files that are mentioned in tutorial.Also netbeans added all these jar files automatically under Test Libraries.

Q1)Please help me?

Satyajeet Kadam
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33127

Since this sounds like a NetBeans configuration question, I'm moving it to our IDEs forum.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Satyajeet Kadam
Ranch Hand

Joined: Oct 19, 2006
Posts: 224
THis tutorial explains how to set up Cactus and run Cactus tests in Tomcat in less than 10 minutes. This is taken from Tutorial

I have tried this example using netbeans, itellij and i am getting the same error as mentioned above.

Please help me to find what is wrong in this example?
I agree. Here's the link:
subject: Cactus java.lang.ClassNotFoundException: org.apache.cactus.server.runner.ServletTestRunner
It's not a secret anymore!