I wrote a wicket application using wicket archetype in wicket.apache.org But when I added my code, it didn't accept my pages and throw a run time exception:
Last cause: Class org.apache.wicket.session.DefaultPageFactory can not access a member of class ece.se.noodle.ui.login.LoginPage with modifiers ""
WicketMessage: Can't instantiate page using constructor 'ece.se.noodle.ui.login.LoginPage()'. An exception has been thrown during construction!
I extends my pages from wicket WebPage and use RestartResponseAtInterceptPageException
for redirecting to LoginPage. But neither DashbordPage nor LoginPage can be loaded.
Can someone please tell me where did I did wrong? Or what should I do to fix it?