on 2006 Mar 27 9:13 PM
Hello -
I am using Eclipse to write a java mapping program but even before compilation, Eclipse IDE shows DefaultHandler as cannot be resolved to a type.
I have done the following imports:
import com.sap.aii.mapping.api.StreamTransformation;
import org.xml.sax.*;
import java.io.*;
import org.xml.sax.helpers.DefaultHandler;
import javax.xml.parsers.SAXParserFactory;
import java.util.Map;
import javax.xml.parsers.SAXParser;
I have added only aii_map_api.jar in the External JAR's in Eclipse.
What other imports should be done to avoid this error?
Thanks,
Tirumal
Tirumal ,
If you are getting the same error as you have written in the thread subject,
<b>DefaultHander</b> cannot be resolved to a type , then note that if it is reffering to an imported class <b>DefaultHander</b> which should be <b>DefaultHandler</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After importing all the packages, did u build your project ? Then check it. Also try with closing your project and open the project once again. Just a thought.
REgards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.