Open alexandernajafi opened 8 months ago
Hi, it seems that a dependency is currently missing from the transitive dependencies.
Try adding org.keycloak:keycloak-policy-enforcer
as a dependency to resolve this as a workaround. A future version of this library will include it.
BTW, I recommend that you add a Keycloak client dependency to your project that you can update as often as Keycloak upgrades, as this library doesn't track all releases of Keycloak unless there are incompatible changes.
Thanks Alexander, I'll try that.
I do have the Keycloak Admin client in my project. But it points at an older version of Keycloak as my server is a few versions behind the latest.
It is hard to keep a live production server of Keycloak up to date as it does not support rolling upgrades and requires some down time. I know it is off topic, but do you have any suggestions in how to keep it up to date without down time?
It is hard to keep a live production server of Keycloak up to date as it does not support rolling upgrades and requires some down time.
I know, still keeping it up to date is without an alternative if you want to stay safe. You might want to reduce the downtime by automating the upgrade as much as possible.
Hi,
I'm upgrading from v 1.2 to 2.0.0 with Dropwizard version 3.0.6. I'm sure I'm missing something, but for each request I'm getting an error about a missing class
java.lang.NoClassDefFoundError: org/keycloak/adapters/authorization/spi/HttpResponse
.I am importing the module in Gradle with
Is there anything else needed? I can't find anything about other dependencies in the docuemntation.
Thanks for your great work on this package!
Full stack trace: