6 Replies Latest reply on Mar 25, 2009 12:07 PM by Francesco Piano

    TestNG in eclipse with 2.1.0

    Phil Haigh Novice


      I am seeing the following issue running test suite on projects using 2.1.0 (this includes shipped Seam examples):

      WARN  [org.jboss.seam.wicket.ioc.JavassistInstrumentor] No wicket components found to give Seam super powers to
      FAILED CONFIGURATION: @BeforeClass setupClass
      java.lang.IllegalStateException: Must set application-class using <wicket:web-application /> in components.xml
           at org.jboss.seam.wicket.web.WicketFilterInstantiator$1.init(WicketFilterInstantiator.java:77)
           at org.jboss.seam.web.WicketFilter.init(WicketFilter.java:94)
           at org.jboss.seam.servlet.SeamFilter.init(SeamFilter.java:97)
           at org.jboss.seam.mock.AbstractSeamTest.createSeamFilter(AbstractSeamTest.java:976)
           at org.jboss.seam.mock.AbstractSeamTest.setupClass(AbstractSeamTest.java:953)
           at org.jboss.seam.mock.SeamTest.setupClass(SeamTest.java:44)
      ... Removed 22 stack frames

      I don't understand how wicket is getting involved - this is appearing on both the example projects and on my own (which certainly have nothing to do with wicket in them!)