java.lang.NoSuchMethodError: 'javax.ws.rs.core.Response org.keycloak.forms.login.LoginFormsProvider.createForm' #40
Replies: 2 comments 2 replies
-
My pom
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Seems that you are using a pre-kc-22 version of this provider in a KC22+ environment. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I have error after login:
Uncaught server error: java.lang.NoSuchMethodError: 'javax.ws.rs.core.Response org.keycloak.forms.login.LoginFormsProvider.createForm(java.lang.String)'
at dasniko.keycloak.authenticator.SmsAuthenticator.authenticate(SmsAuthenticator.java:56)
source code:
context.challenge(context.form().setAttribute("realm", context.getRealm()).createForm(TPL_CODE));
I try repleace by:
session.getProvider(LoginFormsProvider.class).createForm(TPL_CODE);
But the error still occurs.
Beta Was this translation helpful? Give feedback.
All reactions