0 Replies Latest reply on Aug 23, 2012 6:57 PM by Eazy James

    problem testng

    Eazy James Newbie

      Hi , I hava a big problem with testng. I use eclipse indigo

       

      jboss-5.1.0.GA and jboss-seam-2.2.0.GA

       

      FAILED CONFIGURATION: @BeforeSuite startSeam

      java.lang.RuntimeException: Unable to create a KernelInitializer based on the specified KernelConfig

      at org.jboss.kernel.KernelFactory.createKernelInitializer(KernelFactory.java:156)

      at org.jboss.kernel.KernelFactory.assembleNewKernel(KernelFactory.java:99)

      at org.jboss.kernel.KernelFactory.newInstance(KernelFactory.java:67)

      at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.bootstrap(AbstractBootstrap.java:120)

      at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)

      at org.jboss.embedded.Bootstrap.createKernel(Bootstrap.java:123)

      at org.jboss.embedded.Bootstrap.getInstance(Bootstrap.java:70)

      at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:10)

      at org.jboss.seam.mock.AbstractSeamTest.startJbossEmbeddedIfNecessary(AbstractSeamTest.java:1024)

      at org.jboss.seam.mock.AbstractSeamTest.startSeam(AbstractSeamTest.java:915)

      at org.jboss.seam.mock.SeamTest.startSeam(SeamTest.java:58)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

      at java.lang.reflect.Method.invoke(Unknown Source)

      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)

      at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)

      at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)

      at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)

      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:277)

      at org.testng.SuiteRunner.run(SuiteRunner.java:240)

      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)

      at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)

      at org.testng.TestNG.run(TestNG.java:1030)

      at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

      at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

      at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

      Caused by: java.lang.NoClassDefFoundError: gnu/trove/TLongObjectHashMap

      at org.jboss.aop.AspectManager.<init>(AspectManager.java:117)

      at org.jboss.aop.AspectManager$1.run(AspectManager.java:271)

      at org.jboss.aop.AspectManager$1.run(AspectManager.java:259)

      at java.security.AccessController.doPrivileged(Native Method)

      at org.jboss.aop.AspectManager.initManager(AspectManager.java:257)

      at org.jboss.aop.AspectManager.instance(AspectManager.java:236)

      at org.jboss.aop.AspectManager.instance(AspectManager.java:225)

      at org.jboss.aop.microcontainer.beans.AspectManagerFactory.getAspectManager(AspectManagerFactory.java:46)

      at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:72)

      at org.jboss.kernel.plugins.config.Configurator.instantiate(Configurator.java:92)

      at org.jboss.kernel.plugins.config.Configurator.instantiateAndConfigure(Configurator.java:67)

      at org.jboss.kernel.plugins.config.property.PropertyKernelConfig.getImplementation(PropertyKernelConfig.java:159)

      at org.jboss.kernel.plugins.config.property.PropertyKernelConfig.createKernelInitializer(PropertyKernelConfig.java:118)

      at org.jboss.kernel.KernelFactory.createKernelInitializer(KernelFactory.java:150)

      ... 28 more

      Caused by: java.lang.ClassNotFoundException: gnu.trove.TLongObjectHashMap

      at java.net.URLClassLoader$1.run(Unknown Source)

      at java.security.AccessController.doPrivileged(Native Method)

      at java.net.URLClassLoader.findClass(Unknown Source)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      ... 42 more

       

      I think that I am missing a jar but .

        I just added that trove-3.0.3

        I need help. thank