router.attach(String, Class<? extends ServerResource>)   not working properly
<p>OK, I have made some progress since my original problem question post.  Here's the new  scenario</p>

<pre><code>  Server server = new Server(Protocol.HTTP, 8182, new TestServerApplication());
  server.start()

  Here's the code that's in the client
  ClientResource clientResource = new ClientResource(
            "http://localhost:8182/contacts/123");
</code></pre>

<p><strong>The following code does NOT work</strong>       </p>

<pre><code>router.attach("/contacts/123", ContactServerResource.class);
 Exception in thread "main" Not Found (404) - Not Found
</code></pre>

<p><strong>The following code does NOT work</strong>     </p>

<pre><code>router.attach("/contacts/123", ContactServerResource.class, Router.MODE_BEST_MATCH);
 Exception in thread "main" Not Found (404) - Not Found
</code></pre>

<p><strong>*</strong> using attachDefault results in the call being handled properly      </p>

<pre><code>// success!
router.attachDefault(ContactServerResource.class);
</code></pre>

<p>I also tried something different rather than using a Server.</p>

<pre><code>Component component = new Component();

// Add a new HTTP server listening on port 8182.
component.getServers().add(Protocol.HTTP, 8182);

// Attach the sample application.
component.getDefaultHost().attach("/contacts/123",
        new TestServerApplication());

component.start();
</code></pre>

<p>In this case router.attach("/contacts/123", ContactServerResource.class) is still called and it still fails to work.  You have to attachDefault() to get it to work</p>

<p>I can't think of anything else to try.  Anybody have any ideas?  thank you</p>
