The reason why this is causing the error because
AuthenticatedWebApplication#newSession( Request request ) method as follow
<code>
/**
* @see wicket.protocol.http.WebApplication#newSession(wicket.Request)
*/
@Override
public Session newSession(Request request)
{
try
{
return
webSessionClass.getDeclaredConstructor(AuthenticatedWebApplication.class,
Request.class).newInstance(AuthenticatedWebApplication.this, request);
}
catch (Exception e)
{
throw new WicketRuntimeException("Unable to instantiate
web session class "
+ webSessionClass, e);
}
}
</code>
Of course we could override the newSession( Request ) method all
together but since the class object (webSessionClass) is being held
by AuthenticatedWebApplication class and to prevent potential future
problem I just make both the class and the constructor to be public.
Regards,
Edward Yakop
On 2/1/07, Niclas Hedhman <[EMAIL PROTECTED]> wrote:
> On Wednesday 31 January 2007 23:10, [EMAIL PROTECTED] wrote:
> > Log:
> > Commited PaxWicketSession (fix problem where the class is package protected
> > and the constructor is also package protected ).
>
> I am curious to hear why this was a problem...
>
>
> Cheers
> Niclas
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general