2 Replies Latest reply on Sep 3, 2009 4:44 PM by craig

    TestNG in Eclipse Fails

    craig

      Hi I've create a new project via seam-gen and imported this into eclipse.


      The tests run fine from ant but when i run via the TestNG plugin I get


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


      I have followed the instructions in the readme and added the jars and bootstap directory


      Any ideas?


      Thanks


        • 1. Re: TestNG in Eclipse Fails
          paulmkeogh
          If you are running Java 6, try adding the

          -Dsun.lang.ClassLoader.allowArraySyntax=true

          argument to the arguments/VM arguments panel in the Run Configuration dialog.

          • 2. Re: TestNG in Eclipse Fails
            craig

            Hi thanks for your reply.


            The reason it didnt work was because i'd added the jars and directory at the bootstap level, instead of the 'user entries' level.  It runs now.


            I now have another issue!....It does't just to the debug perspective so i can strep through my code


            Any ideas?


            Thanks