0 Replies Latest reply on Jun 4, 2006 3:52 AM by Susumu Majima

    TestNG Failed in Seam example

    Susumu Majima Newbie

      I tried TestNG of jboss-seam examples. When I run by ANT with build.xml,it run and output OK results.
      I tried to run by eclipse TestNG plugin. An error occuered and it's caused by lack of some library or something?

      Somebody give me an advice to run with TestNG plugin.

      Messages are below.


      2006/06/04 16:21:26 org.jboss.seam.core.Ejb startup
      ??: starting the embedded EJB container
      java.lang.RuntimeException: java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap
      at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:345)
      at org.jboss.seam.core.Ejb.startup(Ejb.java:38)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
      at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
      at org.jboss.seam.Component.callComponentMethod(Component.java:1198)
      at org.jboss.seam.Component.callCreateMethod(Component.java:1186)
      at org.jboss.seam.Component.newInstance(Component.java:1175)
      at org.jboss.seam.Component.getInstance(Component.java:1127)
      at org.jboss.seam.Component.getInstance(Component.java:1117)
      at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:115)
      at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:94)
      at org.jboss.seam.init.Initialization.init(Initialization.java:110)
      at org.jboss.seam.mock.SeamTest.init(SeamTest.java:321)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:552)
      at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:318)
      at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:152)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88)
      at org.testng.TestRunner.privateRun(TestRunner.java:682)
      at org.testng.TestRunner.run(TestRunner.java:566)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:220)
      at org.testng.SuiteRunner.run(SuiteRunner.java:146)
      at org.testng.eclipse.runner.RemoteTestNG.run(RemoteTestNG.java:98)FAILED: init