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
Hi there. I've been with Keycloak for a year, and implemented some SPIs. Now, I want to contribute my extensions to Keycloak. So, I've tried to run Keycloak on dev mode of Quarkus for easier to debugging, host-reloading . I've read the README and followed it to run Keycloak on Quarkus dev mode. Unfortunately, something went wrong.
After cloning the repo, I checkout to the tag 26.2.0
Run maven to build the Keycloak
$ ./mvnw clean install -DskipTests
After BUILD SUCCESS, I move to quarkus and start quarkus:dev mode
$ cd quarkus
$ ../mvnw -f server/pom.xml compile quarkus:dev -Dquarkus.args="start-dev"
At this point, I got:
[WARNING] [io.quarkus.bootstrap.devmode.DependenciesFilter] Live reload was disabled for the following project artifacts:
- org.keycloak:keycloak-quarkus-server:26.2.0
- org.keycloak:keycloak-services:26.2.0
- org.keycloak:keycloak-common:26.2.0
- org.keycloak:keycloak-core:26.2.0
- org.keycloak:keycloak-crypto-default:26.2.0
- org.keycloak:keycloak-crypto-fips1402:26.2.0
- org.keycloak:keycloak-server-spi:26.2.0
- org.keycloak:keycloak-server-spi-private:26.2.0
- org.keycloak:keycloak-themes:26.2.0
- org.keycloak:keycloak-themes-vendor:26.2.0
- org.keycloak:keycloak-saml-core-public:26.2.0
- org.keycloak:keycloak-saml-core:26.2.0
- org.keycloak:keycloak-model-jpa:26.2.0
- org.keycloak:keycloak-model-infinispan:26.2.0
- org.keycloak:keycloak-model-storage:26.2.0
- org.keycloak:keycloak-model-storage-private:26.2.0
- org.keycloak:keycloak-model-storage-services:26.2.0
- org.keycloak:keycloak-authz-policy-common:26.2.0
- org.keycloak:keycloak-kerberos-federation:26.2.0
- org.keycloak:keycloak-sssd-federation:26.2.0
- org.keycloak:keycloak-ldap-federation:26.2.0
- org.keycloak:keycloak-ipatuura-federation:26.2.0
- org.keycloak:keycloak-config-api:26.2.0
- org.keycloak:keycloak-account-ui:26.2.0
- org.keycloak:keycloak-admin-ui:26.2.0
- org.keycloak:keycloak-rest-admin-ui-ext:26.2.0
- org.keycloak:keycloak-quarkus-server-deployment:26.2.0
The artifacts above appear to be either dependencies of non-reloadable application dependencies or Quarkus extensions
Listening for transport dt_socket at address: 5005
2025-04-13 11:49:29,127 WARN [io.quarkus.deployment.index.IndexWrapper] (build-49) Failed to index oracle.jdbc.xa.OracleXADataSource: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: DEV for keycloak@60410cd
2025-04-13 11:49:29,127 WARN [io.quarkus.deployment.index.IndexWrapper] (build-49) Failed to index oracle.jdbc.datasource.impl.OracleDataSource: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: DEV for keycloak@60410cd
2025-04-13 11:49:29,468 INFO [io.quarkus.deployment.dev.IsolatedDevModeMain] (main) Attempting to start live reload endpoint to recover from previous Quarkus startup failure
2025-04-13 11:49:29,626 ERROR [io.quarkus.deployment.dev.IsolatedDevModeMain] (main) Failed to start quarkus: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkus.vertx.http.deployment.webjar.WebJarProcessor#processWebJarDevMode threw an exception: java.lang.RuntimeException: Could not find artifact io.quarkus:quarkus-vertx-http-dev-ui-resources::jar among the application dependencies
at io.quarkus.vertx.http.deployment.webjar.WebJarUtil.getAppArtifact(WebJarUtil.java:101)
at io.quarkus.vertx.http.deployment.webjar.WebJarProcessor.processWebJarDevMode(WebJarProcessor.java:42)
at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
at io.quarkus.builder.BuildContext.run(BuildContext.java:255)
at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2654)
at org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
at java.base/java.lang.Thread.run(Thread.java:1583)
at org.jboss.threads.JBossThread.run(JBossThread.java:499)
at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment(AugmentActionImpl.java:372)
at io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:289)
at io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:61)
at io.quarkus.deployment.dev.IsolatedDevModeMain.firstStart(IsolatedDevModeMain.java:89)
at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:428)
at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:55)
at io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:138)
at io.quarkus.bootstrap.app.CuratedApplication.runInAugmentClassLoader(CuratedApplication.java:93)
at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:107)
at io.quarkus.deployment.dev.DevModeMain.main(DevModeMain.java:70)
Caused by: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkus.vertx.http.deployment.webjar.WebJarProcessor#processWebJarDevMode threw an exception: java.lang.RuntimeException: Could not find artifact io.quarkus:quarkus-vertx-http-dev-ui-resources::jar among the application dependencies
at io.quarkus.vertx.http.deployment.webjar.WebJarUtil.getAppArtifact(WebJarUtil.java:101)
at io.quarkus.vertx.http.deployment.webjar.WebJarProcessor.processWebJarDevMode(WebJarProcessor.java:42)
at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
at io.quarkus.builder.BuildContext.run(BuildContext.java:255)
at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2654)
at org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
at java.base/java.lang.Thread.run(Thread.java:1583)
at org.jboss.threads.JBossThread.run(JBossThread.java:499)
at io.quarkus.builder.Execution.run(Execution.java:122)
at io.quarkus.builder.BuildExecutionBuilder.execute(BuildExecutionBuilder.java:78)
at io.quarkus.deployment.QuarkusAugmentor.run(QuarkusAugmentor.java:161)
at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment(AugmentActionImpl.java:368)
... 9 more
Caused by: java.lang.RuntimeException: Could not find artifact io.quarkus:quarkus-vertx-http-dev-ui-resources::jar among the application dependencies
at io.quarkus.vertx.http.deployment.webjar.WebJarUtil.getAppArtifact(WebJarUtil.java:101)
at io.quarkus.vertx.http.deployment.webjar.WebJarProcessor.processWebJarDevMode(WebJarProcessor.java:42)
at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
at io.quarkus.builder.BuildContext.run(BuildContext.java:255)
at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2654)
at org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
at java.base/java.lang.Thread.run(Thread.java:1583)
at org.jboss.threads.JBossThread.run(JBossThread.java:499)
2025-04-13 11:49:29,627 ERROR [io.quarkus.deployment.dev.IsolatedDevModeMain] (main) Failed to recover after failed start: java.lang.RuntimeException: java.lang.IllegalStateException: Cannot set quarkus.http.insecure-requests without enabling SSL.
at io.quarkus.vertx.http.runtime.VertxHttpRecorder.startServerAfterFailedStart(VertxHttpRecorder.java:320)
at io.quarkus.vertx.http.runtime.devmode.VertxHttpHotReplacementSetup.handleFailedInitialStart(VertxHttpHotReplacementSetup.java:73)
at io.quarkus.deployment.dev.RuntimeUpdatesProcessor.startupFailed(RuntimeUpdatesProcessor.java:1299)
at io.quarkus.deployment.dev.IsolatedDevModeMain.firstStart(IsolatedDevModeMain.java:126)
at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:428)
at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:55)
at io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:138)
at io.quarkus.bootstrap.app.CuratedApplication.runInAugmentClassLoader(CuratedApplication.java:93)
at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:107)
at io.quarkus.deployment.dev.DevModeMain.main(DevModeMain.java:70)
Caused by: java.lang.IllegalStateException: Cannot set quarkus.http.insecure-requests without enabling SSL.
at io.quarkus.vertx.http.runtime.VertxHttpRecorder.initializeMainHttpServer(VertxHttpRecorder.java:835)
at io.quarkus.vertx.http.runtime.VertxHttpRecorder.doServerStart(VertxHttpRecorder.java:906)
at io.quarkus.vertx.http.runtime.VertxHttpRecorder.startServerAfterFailedStart(VertxHttpRecorder.java:311)
... 9 more
--
Press [e] to edit command line args (currently 'start-dev'), [:] for the terminal, [h] for more options>
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.003 s
[INFO] Finished at: 2025-04-13T11:49:29+07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:3.20.0:dev (default-cli) on project keycloak-quarkus-server-app: Failed to run: Dev mode process did not complete successfully -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Does anyone have experience contributing to Keycloak that can help me? I'm looking forward to being able to get involved in contributing to Keycloak. Thanks in advance!
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
Uh oh!
There was an error while loading. Please reload this page.
Hi there. I've been with Keycloak for a year, and implemented some SPIs. Now, I want to contribute my extensions to Keycloak. So, I've tried to run Keycloak on dev mode of Quarkus for easier to debugging, host-reloading . I've read the README and followed it to run Keycloak on Quarkus dev mode. Unfortunately, something went wrong.
After cloning the repo, I checkout to the tag 26.2.0
Run maven to build the Keycloak
At this point, I got:
Does anyone have experience contributing to Keycloak that can help me? I'm looking forward to being able to get involved in contributing to Keycloak. Thanks in advance!
All reactions