Ok... I need help yet again... I have deployed pmc_test.ear, which looks like this:
pmc_test.ear | junit-3.8.1.jar | cactus.war | WEB-INF/lib | junit-3.8.1.jar ... And somehow I'm getting a "NoClassDefFoundError: junit/framework/TestCase". I've also tried removing the junit.jar from the ear, leaving it only in the war, yet I still get the same error. Does anyone have any idea what's going on for me? Thanks! - Nelz java.lang.NoClassDefFoundError: junit/framework/TestCase at java.lang.ClassLoader.defineClass(Ljava.lang.String;[BIILjava.security.P rotectionDomain;)Ljava.lang.Class;(Unknown Source) at java.security.SecureClassLoader.defineClass(Ljava.lang.String;[BIILjava. security.CodeSource;)Ljava.lang.Class;(SecureClassLoader.java:123) at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Ljava.lang .String;)Ljava.lang.Class;(GenericClassLoader.java:476) at weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava.lang.Stri ng;)Ljava.lang.Class;(GenericClassLoader.java:181) at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Un known Source) at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Un known Source) at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unk nown Source) at weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava.lang.Stri ng;)Ljava.lang.Class;(GenericClassLoader.java:223) at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(Ljava.lang. String;)Ljava.lang.Class;(ChangeAwareClassLoader.java:41) at java.lang.ClassLoader.loadClassFromNative(II)Ljava.lang.Class;(Unknown Source) at jrockit.vm.Classes.forName0(Ljava.lang.String;ZI)I(Unknown Source) at jrockit.vm.Classes.forName(Ljava.lang.String;ZLjava.lang.ClassLoader;)Lj ava.lang.Class;(Unknown Source) at java.lang.Class.forName(Ljava.lang.String;ZLjava.lang.ClassLoader;)Ljava .lang.Class;(Unknown Source) at org.apache.cactus.internal.util.ClassLoaderUtils.loadClassFromContextCla ssLoader_aroundBody2(Ljava.lang.String;Lorg.aspectj.lang.JoinPoint;)Ljav a.lang.Class;(ClassLoaderUtils.java:78) at org.apache.cactus.internal.util.ClassLoaderUtils.loadClassFromContextCla ssLoader_aroundBody3$advice(Ljava.lang.String;Lorg.aspectj.lang.JoinPoin t;Lorg.apache.cactus.util.log.LogAspect;Lorg.aspectj.runtime.internal.Ar oundClosure;Lorg.aspectj.lang.JoinPoint;)Ljava.lang.Object;(ClassLoaderU tils.java:246) at org.apache.cactus.internal.util.ClassLoaderUtils.loadClassFromContextCla ssLoader(Ljava.lang.String;)Ljava.lang.Class;(ClassLoaderUtils.java:0) at org.apache.cactus.internal.util.ClassLoaderUtils.loadClass_aroundBody0(L java.lang.String;Ljava.lang.Class;Lorg.aspectj.lang.JoinPoint;)Ljava.lan g.Class;(ClassLoaderUtils.java:61) at org.apache.cactus.internal.util.ClassLoaderUtils.loadClass_aroundBody1$a dvice(Ljava.lang.String;Ljava.lang.Class;Lorg.aspectj.lang.JoinPoint;Lor g.apache.cactus.util.log.LogAspect;Lorg.aspectj.runtime.internal.AroundC losure;Lorg.aspectj.lang.JoinPoint;)Ljava.lang.Object;(ClassLoaderUtils. java:246) at org.apache.cactus.internal.util.ClassLoaderUtils.loadClass(Ljava.lang.St ring;Ljava.lang.Class;)Ljava.lang.Class;(ClassLoaderUtils.java:0) at org.apache.cactus.internal.server.AbstractWebTestCaller.getTestClassClas s(Ljava.lang.String;)Ljava.lang.Class;(AbstractWebTestCaller.java:485) at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest()V(Abstra ctWebTestCaller.java:109) at org.apache.cactus.internal.server.AbstractWebTestController.handleReques t_aroundBody0(Lorg.apache.cactus.internal.server.AbstractWebTestControll er;Lorg.apache.cactus.spi.server.ImplicitObjects;Lorg.aspectj.lang.JoinP oint;)V(AbstractWebTestController.java:93) at org.apache.cactus.internal.server.AbstractWebTestController.handleReques t_aroundBody1$advice(Lorg.apache.cactus.internal.server.AbstractWebTestC ontroller;Lorg.apache.cactus.spi.server.ImplicitObjects;Lorg.aspectj.lan g.JoinPoint;Lorg.apache.cactus.util.log.LogAspect;Lorg.aspectj.runtime.i nternal.AroundClosure;Lorg.aspectj.lang.JoinPoint;)Ljava.lang.Object;(Ab stractWebTestController.java:217) at org.apache.cactus.internal.server.AbstractWebTestController.handleReques t(Lorg.apache.cactus.spi.server.ImplicitObjects;)V(AbstractWebTestContro ller.java:0) at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(Lorg.a pache.cactus.server.ServletTestRedirector;Ljavax.servlet.http.HttpServle tRequest;Ljavax.servlet.http.HttpServletResponse;Lorg.aspectj.lang.JoinP oint;)V(ServletTestRedirector.java:101) at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice (Lorg.apache.cactus.server.ServletTestRedirector;Ljavax.servlet.http.Htt pServletRequest;Ljavax.servlet.http.HttpServletResponse;Lorg.aspectj.lan g.JoinPoint;Lorg.apache.cactus.util.log.LogAspect;Lorg.aspectj.runtime.i nternal.AroundClosure;Lorg.aspectj.lang.JoinPoint;)Ljava.lang.Object;(Se rvletTestRedirector.java:217) at org.apache.cactus.server.ServletTestRedirector.doPost(Ljavax.servlet.htt p.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ServletT estRedirector.java:0) at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(Lorg.ap ache.cactus.server.ServletTestRedirector;Ljavax.servlet.http.HttpServlet Request;Ljavax.servlet.http.HttpServletResponse;Lorg.aspectj.lang.JoinPo int;)V(ServletTestRedirector.java:72) at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice( Lorg.apache.cactus.server.ServletTestRedirector;Ljavax.servlet.http.Http ServletRequest;Ljavax.servlet.http.HttpServletResponse;Lorg.aspectj.lang .JoinPoint;Lorg.apache.cactus.util.log.LogAspect;Lorg.aspectj.runtime.in ternal.AroundClosure;Lorg.aspectj.lang.JoinPoint;)Ljava.lang.Object;(Ser vletTestRedirector.java:217) at org.apache.cactus.server.ServletTestRedirector.doGet(Ljavax.servlet.http .HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ServletTe stRedirector.java:0) at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRe quest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740) Confidentiality Note: This message contains information that may be confidential and/or privileged. If you are not the intended recipient, you should not use, copy, disclose, distribute or take any action based on this message. If you have received this message in error, please advise the sender immediately by reply email and delete this message. Although ICAT Managers, LLC scans e-mail and attachments for viruses, it does not guarantee that either are virus-free and accepts no liability for any damage sustained as a result of viruses. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]