help in integrating the XML parser in IntelliJ

Hi there,
I am trying to set up the SAX parser implementation in IntelliJ environment. I have to set classpath to xcerces.jar everytime when I run the code. From command prompt I am able to parse the XML. But not from IntelliJ IDE. If I run it from IntelliJ I get an error saying SAXParser is not available. How do I go about it? I am a novice to Java programming as well. ANy help would be greatly appreciated.

1 comment
Comment actions Permalink

what exactly is the error that you're getting? If it is a classNotFoundException then your problem is that you haven't registered the relevant jar file in the 'path's section of the settings tab (ctrl-alt-s will bring up the setting window, and you should then be able to click on 'paths' and enter the jar in the library section. The help system should be able to help you fill in any of the details.

Hope that helps.



Please sign in to leave a comment.