ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  XML Document Validation with an XML Schema
Subject:   Exceptions when run
Date:   2005-08-22 03:29:26
From:   khylo
HI,


I have copies the program verbatim, and when I try to run it I get the following exceptions.


I have added the xercesImpl.jar and xml-apis.jar to my classpath, but still no success.


Any idea?


Cheers,
Keith


Exception in thread "main" java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setAttribute(Ljava/lang/String;Ljava/lang/Object;)V
at com.aol.shopping.pinpoint.frontend.rearch.JAXPValidator.validateSchema(JAXPValidator.java:63)
at com.aol.shopping.pinpoint.frontend.rearch.JAXPValidator.validateSchema(JAXPValidator.java:52)
at com.aol.shopping.pinpoint.frontend.rearch.JAXPValidator.main(JAXPValidator.java:28)


1 to 1 of 1
1 to 1 of 1