Hi, java.lang.NoSuchMethodError: org.apache.wicket.authroles.authentication.AuthenticatedWebSession.authenticate(Ljava/lang/String;Ljava/lang/String;) means that you call the method with string arrays.
The signature is public abstract boolean authenticate(final String username, final String password); and not public abstract boolean authenticate(final String [] username, final String [] password); François Meillet Formation Wicket - Développement Wicket Le 3 oct. 2013 à 18:00, MartinoSuperman <martinosuper...@live.nl> a écrit : > Hi, > > I have an authentication error. > > I do not know what I am doing wrong. > > The error is as follows: > > Last cause: > org.apache.wicket.authroles.authentication.AuthenticatedWebSession.authenticate(Ljava/lang/String;Ljava/lang/String;)Z > WicketMessage: Method onFormSubmitted of interface > org.apache.wicket.markup.html.form.IFormSubmitListener targeted at > [SignInForm [Component id = signInForm]] on component [SignInForm [Component > id = signInForm]] threw an exception > > > java.lang.NoSuchMethodError: > org.apache.wicket.authroles.authentication.AuthenticatedWebSession.authenticate(Ljava/lang/String;Ljava/lang/String;)Z > at > org.apache.wicket.authroles.authentication.AuthenticatedWebSession.signIn(AuthenticatedWebSession.java:65) > at com.myapp.wicket.SignIn$SignInForm.onSubmit(SignIn.java:87) > at org.apache.wicket.markup.html.form.Form$9.component(Form.java:1249) > ...... > > > Can somebody help me? > > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Error-in-authentication-tp4661680.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org >