title: Java - class.getResource returns null
body: <p>I am using the following to get the URL of this particular file, but it returns null. Does anyone have any suggestions as to the problem or an alternate way to do this?</p>
  
  <pre><code>URL url = ExchangeInterceptor.class.getResource("GeoIP.dat");
  </code></pre>