Open
Description
Trying to a new SPI that uses slf4j
but relies on the version built-in into Keycloak.
This seems to conflic with the version used in this listener:
5.721 Caused by: java.lang.LinkageError: loader constraint violation: when resolving method 'org.slf4j.ILoggerFactory org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()' the class loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @32232e55 of the current class, org/slf4j/LoggerFactory, and the class loader java.net.URLClassLoader @7905a0b8 for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature (org.slf4j.LoggerFactory is in unnamed module of loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @32232e55, parent loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @5c153b9e; org.slf4j.impl.StaticLoggerBinder is in unnamed module of loader java.net.URLClassLoader @7905a0b8, parent loader 'app')
Opening one of the released jar
packages and deleting the directory "/org/slf4j" from the jar does resolve the issue and allows keycloak to successfully start.
Is there a way to remove slf4j
and/or at least use a newer (>2) version?
M.
Metadata
Assignees
Labels
No labels