Closed thomasdarimont closed 2 years ago
Hi - I spotted the same bug, it's probably related to this change 4970c9ae. It reduces the scope of the commons-lang3
dependency to test
instead of the default scope compile
, however it's needed at runtime. I will open a PR that fixes the issue. @jkroepke maybe you can elaborate what your intention was and if my PR #617 fixes it?
Thanks a lot for this finding, I don't know why this happing even on my local machine.
Thanks for the quick fix!
Regarding: "But does someone knows how I could add a test for this case?" How about creating a smoke-test which starts a plain Keycloak / Keycloak.x container that is then provisionied with the keycloak-config-cli container? Then you inspect the exit code of the keycloak-config-cli container.
Hmm the only thing I can think of is starting the JAR (as a "smoke test") in the github actions build process (possibly with a failing config) and check whether the output / exit code is the one you expected
Current Behavior
The latest keycloak-config-cli release 4.6.0-16.1.0 fails to start with a NoClassDefFoundError.
Expected Behavior
keycloak-config-cli container should start without error
Steps To Reproduce
create bug.yaml bug.yml:
start keycloak 16.1.x
start keycloak-config-cli container
Environment
Anything else?
No response