title: ColdFusion/Java Class not found Exception
body: <p>I am trying to parse a CSV File with Coldfusion and a JavaLibrary. I found some examples but it seems that ColdFusion cannot find the Jar-File.</p>
  
  <p>This is my Code:</p>
  
  <pre><code>&lt;cfset t01= getTickCount()&gt;
      &lt;cfscript&gt;
          fileReader = createobject("java","java.io.FileReader");
          fileReader.init("C:\Dev\files.csv");
          csvReader = createObject("java","au.com.bytecode.opencsv.CSVReader");
          csvReader.init(fileReader, ",");
      &lt;/cfscript&gt;
  
  &lt;cfset t02= getTickCount()&gt;
  &lt;cfset ArrayData = csvReader.readAll()&gt;
  &lt;cfset t03= getTickCount()&gt;
  
  &lt;cfoutput&gt;
      Process Data: #t02 - t01# ms
      Display Dump: #t03 - t02# ms
      &lt;cfdump var="ArrayData"&gt;&lt;cfabort /&gt;
  &lt;/cfoutput&gt;
  </code></pre>
  
  <p>and this is the ErrorMessage: </p>
  
  <pre><code>java.lang.ClassNotFoundException: au.com.bytecode.opencsv.CSVReader
      at coldfusion.bootstrap.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:235)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248).....more Stack blabla......
  </code></pre>
  
  <p>I am using the <a href="http://opencsv.sourceforge.net/" rel="nofollow noreferrer">opencsv Library</a>.
  The Jar File is in the following folder:</p>
  
  <blockquote>
    <p>wwwroot/WEB-INF/lib</p>
  </blockquote>
  
  <p>I also restarted the Server multiple times. </p>
  
  <p>Thanks for your help!</p>