Hi,

Check what versions of Wicket you have in the classpath.
Another possible reason could be that those classes are loaded from
different class loaders, e.g. in OSGi environment.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Fri, Aug 25, 2017 at 1:52 PM, jonathan.markland1 <[email protected]>
wrote:

> When using AuthenticatedWebSession.get() i receive the error:
>
> java.lang.ClassCastException: org.apache.wicket.protocol.http.WebSession
> cannot be cast to
> org.apache.wicket.authroles.authentication.AuthenticatedWebSession
>      at
> org.apache.wicket.authroles.authentication.AuthenticatedWebSession.get(
> AuthenticatedWebSession.java:38)
>
> usnure as to why an error is thrown in the AuthenticatedWebSession class.
>
> Currently using wicket version 7.1.0
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/Wicket-7-1-AuthenticatedWebSession-tp4678601.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to