I am attempting to use the XML parser provided by sun jaxp1.0. When I try to get an instance of DocumentBuilderFactory using the static method newInstance(), it throws a FactoryConfigurationError exception at runtime. How can i do to overcome this?
Created May 4, 2012
M.Kumar Sankar You have to include the following class in the import section and set the classpath to that directory.
import com.sun.xml.parser.DocumentBuilderFactoryImpl;