I'm calling the generateTopKFrequentPattern() method of FP growth mining in the Apache Mahout library. In that call, when I use Resources.getResource("FILENAME"), I get the above error saying the file is not found.
My directory structure is Application/src/FILENAME. In the Eclipse window, from run configurations, the default classpath is "Application". I tried using an absolute classpath, "Application/src/FILENAME" and "src/FILENAME". I Still have the same error.
Can anyone please help me with this?