2 Replies Latest reply on Sep 10, 2009 12:49 PM by Xinhua Gu

    Seam Test in Eclipse - a non seam-gen generated project

    Bob Corcoran Newbie
      I am trying to use Seam Test from within Eclipse but am running into some difficulty. We have a significant Seam based project that was not generated via seam-gen. Rather, we used the Eclipse EAR project, EJB project, Web project approach. The app is running fine. Now I would like to start writing Seam tests.  I have the TestNG plug-in successfully installed and I've added the following jars to the User Entries section of the classpath tab in the Run dialog:

      hibernate-All.jar
      jboss-embedded-all.jar
      thirdparty-all.jar
      jboss-embedded-api.jar
      jboss-seam.jar
      jboss-el.jar
      activation.jar
      jsf-api.jar
      el-api.jar
      Our Project (default classpath)

      I've also added the Seam bootstrap folder to the Bootstrap Entries section of the run dialog as well. When I run the dialog, the following error is reported and the tests are skipped:

      org.jboss.deployers.spi.DeploymentException: Error deploying jboss-local-jdbc.rar: org.jboss.ejb3.interceptor.InterceptorInfoRepository.<init>(Ljava/lang/ClassLoader;)V

      Caused by: java.lang.NoSuchMethodError: org.jboss.ejb3.interceptor.InterceptorInfoRepository.<init>(Ljava/lang/ClassLoader;)V

      We are using JBoss 4.3 and Seam 2.1.0.SP1

      Any insight would be greatly appreciated.