Re: Nial Darbey: ClassCast exception when invoking MySession.get() from Maven test phase

2009-08-25 Thread Nial Darbey
Igor,thanks for that. Yes, the solution was in passing the DummyApplication to the WicketTester constructor. Nial 2009/8/20 Igor Vaynberg > are you making wicket tester instantiate your own application class? > > -igor > > On Thu, Aug 20, 2009 at 3:09 AM, Nial Darbey wrote: &g

Nial Darbey: ClassCast exception when invoking MySession.get() from Maven test phase

2009-08-20 Thread Nial Darbey
but when I run my tests from maven against code which uses this I get a ClassCastException (org.apache.wicket.protocol.http.WebSession cannot be cast to org.my.MyWebSession) I'm guessing this must be a classloader issue. Has anyone come across this? Best regards, Nial Darbey