I\'m trying to test Keycloak REST API. Instaled the version 2.1.0.Final. I can access the admin through browser with SSL without problems.
I\'m using the code above:
I had the problem, that MatteoM pointed out. I solved with maven-shade-plugin and the transformes tag. Maybe it helps someone.
org.apache.maven.plugins
maven-shade-plugin
3.2.0
package
shade
*:*
META-INF/*.SF
META-INF/*.DSA
META-INF/*.RSA
de.example.MainClass
1.8
1.8
META-INF/services/javax.ws.rs.ext.Providers
${project.build.directory}/${project.artifactId}-${project.version}-fat.jar