2 Replies Latest reply on Aug 4, 2009 11:56 AM by cash1981

    Weird wicket error in tests

    cash1981

      Hello. Since we upgrade to Seam 2.1.2 we have gotten this very strange error when running tests. We are not even using wicket, so I don't know why this error comes, and I cannot fix the error by typing what the console is saying, because that would destroy our web-app.


      This is the error console:



      WARN  [org.jboss.seam.wicket.web.WicketFilterInstantiator] No wicket components directory specified to give Seam super powers to
         [testng] FAILED: getDefaultContacts
         [testng] java.lang.IllegalStateException: Must set application-class using <wicket:web-application /> in components.xml
         [testng]      at org.jboss.seam.wicket.web.WicketFilterInstantiator$1.init(WicketFilterInstantiator.java:107)
         [testng]      at org.jboss.seam.web.WicketFilter.doFilter(WicketFilter.java:124)
         [testng]      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         [testng]      at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
         [testng]      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         [testng]      at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
         [testng]      at org.jboss.seam.mock.AbstractSeamTest$Request.run(AbstractSeamTest.java:491)
         [testng]      at no.kommuneforlaget.saksapp.test.AddressBookTest.getDefaultContacts(AddressBookTest.java:18)
         [testng] ... Removed 22 stack frames
         [testng] FAILED: setup
      



      Anyone encountered this?