I'm trying to use wicket tester to test an app that is running with spring.

I'm getting this error:

         java.lang.IllegalStateException: No WebApplicationContext found: no 
ContextLoaderListener registered?

I thought perhaps I would be able to use SpringJunit4ClassRunning, but that 
didn't work. Any tips?

        @RunWith(SpringJUnit4ClassRunner.class)
        @ContextConfiguration(locations = { 
"classpath:spring/mockApplicationContext.xml"})

Reply via email to