title: Unable to read xsd file in resources folder in jboss server app
body: <p>1) I am trying to read a xsd file placed in resources folder in java.</p>
  
  <p>2) We are using JBoss Server for our Application. </p>
  
  <p>3) Document doc = docBuilder.parse(new File(classLoader.getResource("Abc.xsd").getFile())); </p>
  
  <p>4) I am getting the following exception - C:\dev\jboss-eap-7.0\bin\content\batch.war\WEB-INF\lib\common-1.0.5-SNAPSHOT.jar\Abc.xsd (The system cannot find the path specified). </p>
  
  <p>5) It is somehow appending C:\dev\jboss-eap-7.0\bin\ before the file path.</p>
  
  <p>Could anyone please assist.</p>