title: File Not Found Error
body: <p>I've passed a file to a library, and the library is spitting out a FileNotFound error as shown:</p>
  
  <pre><code>javax.xml.transform.TransformerException: java.io.FileNotFoundException: file:\C:\Users\Oroma\workspace\IndividualProject_JINQS\WebContent\WEB-INF\classes\presentationlayer\utility\mappings\jmt\networkModel.xml (The filename, directory name, or volume label syntax is incorrect)
  </code></pre>
  
  <p>The file is sent calling this method:</p>
  
  <pre><code> private URI getFileLocation(String fName) throws URISyntaxException {
      return this.getClass().getResource("utility/mappings/jmt/"+ fName).toURI();
   }
  </code></pre>
  
  <p>So if the file didn't exist I'd be getting a null pointer way before I send the file to the JSIM library. </p>
  
  <p>I'm looking at the the errors message: <code>(The filename, directory name, or volume label syntax is incorrect)</code>.  Looking at the full path for the file, I can't see any special characters. </p>
  
  <p>Does anyone have any idea what might be causing the error?</p>
  
  <p>EDIT:
  The method call to the other library requires sending a file:</p>
  
  <pre><code>SolverDispatcher solver = new SolverDispatcher();
  File networkModel = new File(getFileLocation("networkModel.xml"));
  solver.solve(networkModel);
  </code></pre>