title: Quarkus - Resource with @Path("/") ignored, instead loading content from resources
body: <p>Trying to configure a JAX-RS resource with @Path("/"), however, the resource is ignored and the first file found in resources is loaded.</p>
  
  <p>Any idea how to prevent this and allow the resource to work?
  When clearing META-INF/resources, the JAX-RS resource loads correctly.</p>
  
  <p>Using:
  Quarkus 1.4.2.Final</p>
  
  <p>openjdk version "11.0.6" 2020-01-14 LTS
  OpenJDK Runtime Environment Zulu11.37+52-SA (build 11.0.6+10-LTS)
  OpenJDK 64-Bit Server VM Zulu11.37+52-SA (build 11.0.6+10-LTS, mixed mode)</p>
  
  <p>Resource:</p>
  
  <pre class="lang-java prettyprint-override"><code>import javax.ws.rs.GET;
  import javax.ws.rs.Path;
  import javax.ws.rs.Produces;
  import javax.ws.rs.core.MediaType;
  
  @Path("/")
  public class LandingResource {
  
      @GET
      @Produces(MediaType.TEXT_HTML)
      public String getLandingPage() {
          return "&lt;html&gt;&lt;head&gt;&lt;title&gt;Hello World&lt;/title&gt;&lt;/head&gt;&lt;body&gt;Hello!&lt;/body&gt;&lt;/html&gt;";
      }
  
  }
  </code></pre>
  
  <p>Testing:</p>
  
  <pre class="lang-sh prettyprint-override"><code>curl --location --request GET 'http://localhost:8080/'
  </code></pre>
  
  <p>Response:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;title&gt;Internal Server Error - Error handling cee4cff3-551d-44e1-9102-5c9ada9d8fb2-7, java.nio.file.InvalidPathException: Illegal char &amp;amp;lt;:&amp;amp;gt; at index 97: &lt;tempdir&gt;\vertx-cache\file-cache-71fbfca9-5ba3-4a3e-8020-8501379cbf2b\&lt;project dir&gt;\src\main\resources\META-INF\resources\assets\icons\icon-128x128.png&lt;/title&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;style&gt;
  html, body {
      margin: 0;
      padding: 0;
      font-family: 'Open Sans', Helvetica, Arial, sans-serif;
      font-size: 100%;
      font-weight: 100;
      line-height: 1.4;
  }
  ...
  </code></pre>