Unable to complete the Getting Started tutorial: Could not find artifact sun.jdk:jconsole:jar:jdk

321 views
Skip to first unread message

Christopher de Vidal

unread,
Nov 2, 2021, 9:18:46 AM11/2/21
to Keycloak User
I am a Python developer trying to develop an app and am trying Keycloak but am unable to complete the Getting Started tutorial:
https://www.keycloak.org/docs/latest/getting_started/index.html

At the step where I run "mvn clean wildfly:deploy" I get the following error. I am running Ubuntu 21.04 and I installed openjdk-8-jdk-headless by apt.

Please assist.

[INFO] --- wildfly-maven-plugin:1.2.2.Final:deploy (default-cli) @ keycloak-app-profile-jee-vanilla ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  24.441 s
[INFO] Finished at: 2021-11-01T07:53:35-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.2.2.Final:deploy (default-cli) on project keycloak-app-profile-jee-vanilla: Execution default-cli of goal org.wildfly.plugins:wildfly-maven-plugin:1.2.2.Final:deploy failed: Plugin org.wildfly.plugins:wildfly-maven-plugin:1.2.2.Final or one of its dependencies could not be resolved: Could not find artifact sun.jdk:jconsole:jar:jdk at specified path /usr/lib/jvm/java-8-openjdk-amd64/jre/../lib/jconsole.jar -> [Help 1]

Christopher de Vidal

unread,
Nov 5, 2021, 7:02:42 AM11/5/21
to Keycloak User
Anyone able to help this newbie get off the ground?
Reply all
Reply to author
Forward
0 new messages