You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Upgrading from 18 to 20 using Spring Boot embeded Keycloak
#15496
I'm trying to update this project bellow from keycloak 18.0.0 to 20.0.1 but I'm getting this error:
[ main] org.keycloak.services : java.lang.IllegalStateException: Not able to load any cryptoProvider with the classLoader: jdk.internal.loader.ClassLoaders$AppClassLoader@1d44bcfa
Upgraded RESTEasy to 4 too. RESTEasy and Infinispan to the same version of pom.xml of keycloak
Refering to the following issue: https://issuehint.com/issue/keycloak/keycloak/12619, it seems to be something related to to the new keycloak admin (admin2). I didn't figured out what precisely tho. Same apply for the v20.
As a temporary fix, I was able to mitigate the issue by setting the following properties:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to update this project bellow from keycloak 18.0.0 to 20.0.1 but I'm getting this error:
[ main] org.keycloak.services : java.lang.IllegalStateException: Not able to load any cryptoProvider with the classLoader: jdk.internal.loader.ClassLoaders$AppClassLoader@1d44bcfaUpgraded RESTEasy to 4 too. RESTEasy and Infinispan to the same version of pom.xml of keycloak
How to solve that?
Link to my attemp to update: https://github.com/suchorski/springboot-keycloak-server/tree/developing/v20
Link to project source: https://github.com/Baeldung/spring-security-oauth/tree/master/oauth-rest/oauth-authorization-server
Thanks
Full stacktrace
All reactions
Replies: 1 comment · 4 replies
Uh oh!
There was an error while loading. Please reload this page.
Fixed that by importing crypto on pom file.
Now my project isn`t found the template files. Anubody?
All reactions
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
Refering to the following issue: https://issuehint.com/issue/keycloak/keycloak/12619, it seems to be something related to to the new keycloak admin (admin2). I didn't figured out what precisely tho. Same apply for the v20.
As a temporary fix, I was able to mitigate the issue by setting the following properties:
keycloak.profile.feature.admin2=disabledkeycloak.profile.feature.admin=enabledNot perfect as feature.admin is deprecated, but temporarily acceptable for a dev environment I believe.
All reactions
Uh oh!
There was an error while loading. Please reload this page.
Thanks for the reply. I did it by importing the templates using admin2.
If you want to, you can see my repo using keycloak 20 with admin2 template and a custom template by me.
😁
All reactions
Uh oh!
There was an error while loading. Please reload this page.
Nice, thanks!
Indeed, I am now able to start the admin2 just by adding those exclusions in my POM:
All reactions
Uh oh!
There was an error while loading. Please reload this page.
That is it! 😁
All reactions