-4

On my scenario, I'm trying to retrieve the information of an applicant from an XML file. I'm trying to retrieve the data of certain tags within the xml file and insert the string to an CSV file to use it as the datapool.

Im trying to use the following Imports

import javax.xml.parsers.DocumentBuilder;  
import javaxxml.parsers.DocumentBuilderFactory;  
import javax.xml.parsers.ParserConfigurationException;

When i try to use the above import classes i get an error (The import cannot be resolved)

I have added the JAR file JDOM to my project , but that didn't work.

I was using "java" instead of "javax" i'm no longer getting the error

Machavity
  • 30,841
  • 27
  • 92
  • 100
user3817253
  • 5
  • 2
  • 5
  • At least write your question in the textarea and some more details about what you've tried and the result(s). – grim Jul 08 '14 at 16:50

2 Answers2

1

findjar.com tells me it's in rt.jar (as of Java 6)

rt.jar contains all the RunTime classes that comprise the Java SE platform’s core API’s. In simple terms this is the jar which contains classes like java.lang.String, java.io package etc.

Brian Agnew
  • 268,207
  • 37
  • 334
  • 440
0

Could be Java SE or Apache Xerces or AWT

They all have the same class within same package.

josliber
  • 43,891
  • 12
  • 98
  • 133
Vivek Vermani
  • 1,934
  • 18
  • 45