The following comment has been added to this issue: Author: Felipe Leme Created: Sat, 23 Oct 2004 9:16 PM Body: I could kind of reproduce this issue (although I didn't get exactly the same error):
1.compiled cactus from CVS using JDK 1.4 2.ran the examples/servlet tests using JBoss 3.2.5 and JDK 1.5. It didn't work, due to exceptions on JBoss 3.then I changed the dependency to AspectJ 1.2 and redid steps 1 and 2 - it worked this time. I also uploaded a new cactus jar to my website (http://www.apache.org/~felipeal/cactus/dist-13/) - could you please check it solves your problem? -- Felipe --------------------------------------------------------------------- View this comment: http://issues.apache.org/jira/browse/CACTUS-150?page=comments#action_54545 --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/CACTUS-150 Here is an overview of the issue: --------------------------------------------------------------------- Key: CACTUS-150 Summary: JDK 1.5 runtime incompatible with Cactus ServletTestRunner? Type: Bug Status: Open Priority: Major Project: Cactus Versions: 1.6.1 Assignee: Felipe Leme Reporter: Ari Erin Miller Created: Tue, 19 Oct 2004 6:53 PM Updated: Sat, 23 Oct 2004 9:16 PM Environment: jboss-3.2.5 on Windows XP Service Pack 2. Description: I'm using jakarta-cactus-13-1.6.1, with all the appropriate library files in my WEB-INF\lib folder: junit-3.8.1.jar commons-logging-1.0.3.jar commons-httpclient-2.0.jar cactus-1.6.1.jar aspectjrt-1.1.1.jar nekohtml-0.7.4.jar cactus-ant-1.6.1.jar I am running jboss-3.2.5 on Windows XP Service Pack 2. If I compile my server code under JDK 1.4 or JDK 1.5, and start the server under the 1.4 JRE, I can use the ServletTestRunner to run a class which extends org.apache.cactus.ServletTestCase without a problem. But with the same exact server deployment, started under the 1.5 JRE, I receive the following error: java.lang.NoClassDefFoundError: org/apache/cactus/util/log/LogAspect at org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunne r.java) Some additional things I've tried: I've tried putting the library files directly in the server lib directory, rather than in WEB-INF\lib. I've tried using the latest development release of cactus, jakarta-cactus-13-1.7dev20040815.zip. Neither made a difference - I receive the same error. I noticed an earlier mailing with the same symptoms in the archives (http://www.mail-archive.com/cactus-user%40jakarta.apache.org/msg05860.h tml). --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]