GeeCON Prague 2014*
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
Author

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

Satyajeet Kadam
Ranch Hand

Joined: Oct 19, 2006
Posts: 215
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?


Regards,
Satyajeet Kadam
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30596
    
154

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


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Satyajeet Kadam
Ranch Hand

Joined: Oct 19, 2006
Posts: 215
THis tutorial explains how to set up Cactus and run Cactus tests in Tomcat in less than 10 minutes. This is taken from http://jakarta.apache.org/cactus/integration/howto_tomcat.html. 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?
 
GeeCON Prague 2014
 
subject: Cactus java.lang.ClassNotFoundException: org.apache.cactus.server.runner.ServletTestRunner