0 Replies Latest reply on Dec 20, 2007 5:53 AM by Piotr Porzucek

    where is BaseServerConfig? Seam integration testing

    Piotr Porzucek Newbie

      Hi,

      I'm using Seam 2.0.0.GA and I wanted to perform a very simple integration test. However, I'm getting this exception:

      ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Described:
      name=ServerConfig state=PreInstall
      java.lang.NoClassDefFoundError: Lorg/jboss/system/server/BaseServerConfig;
       at java.lang.Class.getDeclaredFields0(Native Method)
       at java.lang.Class.privateGetDeclaredFields(Class.java:2232)
       at java.lang.Class.getDeclaredFields(Class.java:1715)
       at org.jboss.aop.ClassContainer$1.run(ClassContainer.java:100)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.jboss.aop.ClassContainer.populateFieldTable(ClassContainer.java:96)
       at org.jboss.aop.ClassContainer.createFieldTable(ClassConta
      
      



      Strange, but class jboss/system/server/BaseServerConfig doesn't exist in jboss-system.jar. My classpath looks like this:

      jboss-seam-2.0.0.GA/bootstrap/
      jboss-seam-2.0.0.GA/lib/test/*.jar
      jboss-seam-2.0.0.GA/lib/*.jar (apart from jboss-seam-ui.jar)
      compiled tests
      classpath for compiling tests

      What is wrong with my settings?

      Regards,
      Piotr