Java - Resources.getresource() java.lang.IllegalArgumentException: resource "file" not found
<p>I'm calling the <code>generateTopKFrequentPattern()</code> method of FP growth mining in the Apache Mahout library. In that call, when I use <code>Resources.getResource("FILENAME")</code>, I get the above error saying the file is not found.</p>

<p>My directory structure is <code>Application/src/FILENAME</code>. In the Eclipse window, from run configurations, the default classpath is "Application". I tried using an absolute classpath, <code>"Application/src/FILENAME"</code> and <code>"src/FILENAME"</code>. I Still have the same error. </p>

<p>Can anyone please help me with this?</p>
