title: Minimal dependency on RestEasy when using Keycloak Java admin api
body: <p>Keycloak Java Admin api works nice, however, including RestEasy dependencies in our pom.xml causing issues like this:</p>
  
  <pre><code>RESTEASY002307: Failed to execute
  javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: http://localhost:8080/
  </code></pre>
  
  <p>I wonder is there any configuration for RestEasy to work with "minimal" settings which are required by Keycloak Java Admin api? Nothing more than that.
   What we have tried so far without success:</p>
  
  <ul>
  <li>Disabling rest easy scanning in web.xml</li>
  <li>Map RestEasy to dummy url like /restdummy</li>
  </ul>
  
  <p>Our pom.xml:</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.keycloak&lt;/groupId&gt;
          &lt;artifactId&gt;keycloak-admin-client&lt;/artifactId&gt;
          &lt;version&gt;4.6.0.Final&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.jboss.resteasy&lt;/groupId&gt;
          &lt;artifactId&gt;resteasy-client&lt;/artifactId&gt;
          &lt;version&gt;3.6.2.Final&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.jboss.resteasy&lt;/groupId&gt;
          &lt;artifactId&gt;resteasy-jackson2-provider&lt;/artifactId&gt;
          &lt;version&gt;3.6.2.Final&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>Any advice is welcome.</p>