title: Unexpected errors while experimenting with dl4j-examples in IntelliJ
body: <p>I'm trying to experiment with the dl4j-examples  project and added a test "Hello World" java class to it where I copied and pasted the code</p>
  
  <pre><code>String filePath = new ClassPathResource("raw_sentences.txt").getFile().getAbsolutePath();
  </code></pre>
  
  <p>from class <code>Word2ecRawTextExample</code> and it gives the error <code>Unhandled exception: java.io.FileNotFoundException</code> at <code>.getFile()</code>, but it worked fine in the  <code>Word2ecRawTextExample</code> class. I tried Invalidate cache and restart but that didn't work.
  The other thing is when I add any new class IntelliJ starts giving  errors even in the sample projects, when I didn't even change them at all. In this case</p>
  
  <pre><code>Error:(22, 8) java: class Word2ecRawTextExample is public, should be declared in a file named Word2ecRawTextExample.java
  </code></pre>
  
  <p>at the line</p>
  
  <pre><code>private static Logger log = LoggerFactory.getLogger(Word2VecRawTextExample.class); 
  </code></pre>
  
  <p>Is there any way to download the maven dependencies in a new project without using the dl4j example projects, I tried looking up about but couldn't find anything useful.    </p>