title: Kotlin reading a file issue
body: <p>I am trying to read a csv file using jackson but whenever I actually go to declare the file, i get the below exception:</p>
  
  <pre class="lang-none prettyprint-override"><code>IllegalStateException: classLoader.getResource("/src/integTest/testdata/Tests.csv") cannot be null
  </code></pre>
  
  <pre><code>import com.fasterxml.jackson.databind.MappingIterator
  import com.fasterxml.jackson.dataformat.csv.CsvMapper
  import java.io.File
  
  class CsvReader(private val fileName: String, private val testCase: TestCase) {
  
  fun readCsv() {
      // configure schema and reader
      val mapper = CsvMapper()
      val schema = mapper.schemaFor(testCase.javaClass)
      val objectReader = mapper.readerFor(testCase.javaClass).with(schema)
  
  //TODO this returns: java.lang.IllegalStateException: javaClass.getResource(fileName) must not be null
      val reader = File(javaClass.getResource(fileName).file).reader()
  
      //read file
      val mappingIterator: MappingIterator&lt;TestCase&gt; = objectReader.readValues(reader)
      while (mappingIterator.hasNext()) {
          //TODO get fields from read and return a TestCase Object
          println(mappingIterator.next())
      }
  }
  </code></pre>
  
  <p>I am initializing the class using the following file path as a parameter:</p>
  
  <pre><code>var FILE_NAME: String = "/src/integTest/kotlin/testdata/testCase.csv"
  </code></pre>
  
  <p>Anyone else ever encountered this issue?</p>