3 Replies Latest reply on Jun 11, 2010 12:32 AM by Tom Bryan

    Running TestNG Tests from seam-gen project in Eclipse

    Henning Sprang Newbie


      Sorry if this has been asked before, but I don't find a solution, even though searching for hours already.

      So, I have generated a project with seam-gen, and my tests run fine when run from ant.
      But when I try to run a test from the Eclipse IDE, I don't get it to work.
      I already added the test jars directory to the test's classpath, which solved one problem.
      But now I'm stuck with this error - what do I have to do to get the tests running in eclipse?

      Thanks, Henning

      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}

      -> UserTransaction{Configured:**ERROR**}

      -> UserTransaction{Configured:**ERROR**}

      *** CONTEXTS IN ERROR: Name -> Error

      SARDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

      ServiceDeploymentDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

      ServiceClassLoaderDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

      BeanDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

      ServiceDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

      BeanMetaDataDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

      UserTransaction -> java.lang.RuntimeException: Unable to locate the transaction manager

      KernelDeploymentDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;