1 Reply Latest reply on Jul 3, 2013 9:30 AM by Tanya Ruttenberg

    Please post the full pom.xml from Getting Started guide

    Tanya Ruttenberg Expert

      Just getting acquainted with Arquillian.  Love the website and Dan's tutorial is very well written.  However I am having

      some problems.

       

      For some reason I can't access the archetype used in the Getting Started tutorial.  But why that is is not my question.

      (that question is here http://stackoverflow.com/questions/17427487/archetype-is-in-repository-but-not-found-by-either-eclipse-or-commandline )

       

      I don't want to get sidetracked on manually downloading the archetype, loading it into my repository, etc.

       

      I went through the guide anyway as well as I could and am getting this error:

       

      Running gov.ssa.dne.nmst.GreeterTest
      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.35 sec <<< FAILURE!
      Running gov.ssa.dne.nmst.SearchTest
      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0 sec <<< FAILURE!

      Results :

      Tests in error:
        gov.ssa.dne.nmst.GreeterTest: tried to access method org.junit.runners.ParentRunner.getTestClass()Lorg/junit/runners/m
      odel/TestClass; from class org.jboss.arquillian.junit.Arquillian$2
        gov.ssa.dne.nmst.GreeterTest: tried to access method org.junit.runners.ParentRunner.getTestClass()Lorg/junit/runners/m
      odel/TestClass; from class org.jboss.arquillian.junit.Arquillian$3$1
        gov.ssa.dne.nmst.SearchTest: tried to access method org.junit.runners.ParentRunner.getTestClass()Lorg/junit/runners/mo
      del/TestClass; from class org.jboss.arquillian.junit.Arquillian$2
        gov.ssa.dne.nmst.SearchTest: tried to access method org.junit.runners.ParentRunner.getTestClass()Lorg/junit/runners/mo
      del/TestClass; from class org.jboss.arquillian.junit.Arquillian$3$1

       

      SearchTest is one I wrote on my own.

       

      Maybe I am missing something from my pom? 

       

      Dan or someone, can you please post the final pom.xml either in the guide or here in addition to the snippets?