title: CMU Sphinx: property:'location' - Can't locate resource
body: <p>I am implementing <a href="http://cmusphinx.sourceforge.net/wiki/tutorialsphinx4" rel="nofollow noreferrer">sphinx-4</a> tutorial. But when run this tutorial I got </p>
  
  <pre><code>Exception in thread "main" Property exception component:'acousticModelLoader' property:'location' - Can't locate resource:/edu/cmu/sphinx/models/en-us/en-us
  edu.cmu.sphinx.util.props.InternalConfigurationException: Can't locate resource:/edu/cmu/sphinx/models/en-us/en-us
  </code></pre>
  
  <p>This is code I am using</p>
  
  <pre><code>        Configuration configuration = new Configuration();
          configuration.setAcousticModelPath("resource:/edu/cmu/sphinx/models/en-us/en-us");
          configuration.setDictionaryPath("resource:/edu/cmu/sphinx/models/en-us/cmudict-en-us.dict");
          configuration.setLanguageModelPath("resource:/edu/cmu/sphinx/models/en-us/en-us.lm.bin");
  </code></pre>
  
  <p>I have also add both to <code>pom.xml</code> and also add <code>repositories</code> to <code>pom.xml</code>, as mentioned in tutorial.</p>
  
  <pre><code>&lt;dependency&gt;
              &lt;groupId&gt;edu.cmu.sphinx&lt;/groupId&gt;
              &lt;artifactId&gt;sphinx4-core&lt;/artifactId&gt;
              &lt;version&gt;5prealpha-SNAPSHOT&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;edu.cmu.sphinx&lt;/groupId&gt;
              &lt;artifactId&gt;sphinx4-data&lt;/artifactId&gt;
              &lt;version&gt;5prealpha-SNAPSHOT&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>
  
  <p>What I am doing wrong? I am using windows 10 OS. Comment on <a href="https://stackoverflow.com/questions/36700836/cmu-sphinx-set-acoustic-model-path-error">this</a> question told something about classpath But it is not clear.</p>