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?

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;

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact