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
I want to send custom sms for OTP, I used this code, I have created just .jar file from this branch and trying to bind as volume in my docker-compose file.
ex: volumes:
- ./providers:/opt/keycloak/providers
now i am getting below error.
ERROR: Build failure: Build failed due to errors
keycloak-keycloak-1 | [error]: Build step org.keycloak.quarkus.deployment.KeycloakProcessor#configureProfile threw an exception: java.lang.LinkageError: loader constraint violation: loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @30c0ccff wants to load class org.keycloak.common.Profile$ProfileName. A different class with the same name was previously loaded by java.net.URLClassLoader @6af9fcb2. (org.keycloak.common.Profile$ProfileName is in unnamed module of loader java.net.URLClassLoader @6af9fcb2, parent loader 'app').
I am not sure what to do to resolve this error , if anybody can help me.
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
-
I want to send custom sms for OTP, I used this code, I have created just .jar file from this branch and trying to bind as volume in my docker-compose file.
ex: volumes:
- ./providers:/opt/keycloak/providers
now i am getting below error.
ERROR: Build failure: Build failed due to errors
keycloak-keycloak-1 | [error]: Build step org.keycloak.quarkus.deployment.KeycloakProcessor#configureProfile threw an exception: java.lang.LinkageError: loader constraint violation: loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @30c0ccff wants to load class org.keycloak.common.Profile$ProfileName. A different class with the same name was previously loaded by java.net.URLClassLoader @6af9fcb2. (org.keycloak.common.Profile$ProfileName is in unnamed module of loader java.net.URLClassLoader @6af9fcb2, parent loader 'app').
I am not sure what to do to resolve this error , if anybody can help me.
below is my docker-compose.yml
version: "3.9"
services:
keycloak:
image: quay.io/keycloak/keycloak:latest
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin123
kc_db: postgres
kc_db_url: jdbc:postgresql://postgres_blog/keycloak
kc_db_port: 5434
kc_db_user: keycloak
kc_db_password: kc
ports:
- 8080:8080
- 8787:8443
command:
- start-dev
networks:
- backend
volumes:
- ./providers:/opt/keycloak/providers
networks:
backend:
name: backend
driver: bridge
Beta Was this translation helpful? Give feedback.
All reactions