0 Replies Latest reply on Apr 7, 2010 8:05 AM by Shaimaa Ward

    run jsfunit test in test suite class

    Shaimaa Ward Novice

      Dear

      I want to run JSFUnit test within a test suite but it fails  and throws the following exception

      java.lang.ClassFormatError: org.apache.cactus.internal.configuration.ConfigurationInitializer
      at java.lang.ClassLoader.defineClass(Ljava.lang.String;[BIILjava.security.ProtectionDomain;)Ljava.lang.Class;(Unknown Source)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown Source)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
      at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown Source)
      at java.lang.ClassLoader.loadClassFromNative(Ljava.lang.String;)Ljava.lang.Class;(Unknown Source)
      at org.apache.cactus.internal.AbstractCactusTestCase.<clinit>(AbstractCactusTestCase.java:53)
      at jrockit.reflect.InitialConstructorInvoker.newInstance([Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
      at java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
      at junit.framework.TestSuite.createTest(TestSuite.java:131)
      at junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
      at junit.framework.TestSuite.<init>(TestSuite.java:75)
      at junit.framework.TestSuite.addTestSuite(TestSuite.java:101)
      at test.junit.com.itsoft.ubs.sa.AllTests.suite(AllTests.java:13)
      at jrockit.reflect.InitialMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
      at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
      at org.junit.runners.AllTests.testFromSuiteMethod(AllTests.java:36)

       

      Thank you