Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] ConfigurationError

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Emmanuil Batsis (Manos)" <mbatsis AT netsmart.gr>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] ConfigurationError
  • Date: Fri, 30 Apr 2004 13:23:44 +0300


Hi,

Exceptions [1] in an ant task i'm building are thrown, when trying to create a new Builder.

In general, can you please advise on what is the best i can do for the task/XOM to work on the users machine out of the box? I thought the default constructor was the way to achieve this... what am i missing?

Thanks,

Manos

[1]

org.apache.xerces.util.ObjectFactory$ConfigurationError: Provider nu.xom.xerces.
XML1_0ParserConfiguration not found
at org.apache.xerces.util.ObjectFactory.newInstance(Unknown Source)
at org.apache.xerces.util.ObjectFactory.createObject(Unknown Source)
at org.apache.xerces.util.ObjectFactory.createObject(Unknown Source)
at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at org.xml.sax.helpers.NewInstance.newInstance(NewInstance.java:44)
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory
.java:119)
at nu.xom.Builder.findParser(Unknown Source)
at nu.xom.Builder.<init>(Unknown Source)
at nu.xom.Builder.<init>(Unknown Source)
at com.geekologue.tasks.xclude.Task.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)






Archive powered by MHonArc 2.6.24.

Top of Page