Good evening, I'm currently in the process of migrating my app from Wicket 1.4 to Wicket 1.5. I've read the migration guide and everything seems to go fine, except for session management.
Here's my code: public class MySession extends WebSession { public static MySession get() { return (MySession)Session.get(); } } When call, the get() method gives this stacktrace: Caused by: java.lang.ClassCastException: org.apache.wicket.protocol.http.WebSession cannot be cast to MySession Any help, please? Regards, Pierre Goupil