I want to make a kml file from a java code using jdom-1.1.jar library file. It gives no compile time error to my program but showing a run time error:
jdom-1.1.jar
C:\ProgramFiles\Tomcat\tomcat-5.5.9\webapps\jsp-examples>java KmlSample Exception ...
I have the following code
try { xpathInstance = XPath.newInstance(xpathExpr); list = (Text) xpathInstance.selectSingleNode(doc); } catch (JDOMException e) { throw new Exception(e); }
I'm using JDOM with SAXBuilder to parse XML files, today I have a problem with a file wich is throwing this error :
java.net.MalformedURLException: unknown protocol: c at java.net.URL.<init>(URL.java:574) ...