keycloak-config-cli
keycloak-config-cli copied to clipboard
ERROR: java.lang.ClassNotFoundException: de.adorsys.keycloak.config.resource.ManagementPermissions
Current Behavior
After updating to Keycloak 23.0.a and updating the extensions version to the 5.10 (Keycloak 23.0.1) Keycloak is not starting properly and failed with the error: ERROR: java.lang.ClassNotFoundException: de.adorsys.keycloak.config.resource.ManagementPermissions
Expected Behavior
Clean start up 🙃
Steps To Reproduce
I'm using docker compose to run keycloak. My test setup looks like this:
version: "3"
services:
keycloak:
container_name: keycloak
image: quay.io/keycloak/keycloak:23.0.1
environment:
KC_DB: mariadb
KC_DB_URL_HOST: keycloak-db
KC_DB_PASSWORD: root
KC_DB_USERNAME: root
KC_HOSTNAME: "localhost"
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
restart: unless-stopped
depends_on:
- keycloak-db
volumes:
- "./extensions/:/opt/keycloak/providers/"
command:
- start-dev
ports:
- "8081:8080"
keycloak-db:
restart: unless-stopped
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: "keycloak"
adminer:
image: adminer
restart: unless-stopped
ports:
- 8080:8080
after docker-compose up it crashes with the error:
keycloak | ERROR: Unexpected error when starting the server in (development) mode
keycloak | ERROR: Failed to start quarkus
keycloak | ERROR: java.lang.ClassNotFoundException: de.adorsys.keycloak.config.resource.ManagementPermissions
keycloak | ERROR: de.adorsys.keycloak.config.resource.ManagementPermissions
### Environment
- Keycloak Version: 23.0.1
- keycloak-config-cli Version: 5.10
- Docker compose
### Anything else?
_No response_
Hi @Clex1o1, version 23.0.1 is pretty old, may you try again with 23.0.7?
Hi @jonasvoelcker! Thank you for your response. I got the same error with 23.0.7 and 24.0.1. I used the different keycloak images and the different jar files from the latest release v5.11.1.