Skip to Content.
Sympa Menu

xom-interest - Re: [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: Re: [XOM-interest] ConfigurationError
  • Date: Fri, 30 Apr 2004 15:56:55 +0300


Hi Elliotte,

Thanks for your reply.
Elliotte Rusty Harold wrote:

> If I had to guess I'd say it's a class loader issue, but I'm really not sure. Do you have any more details?


I mooved xom-1.0d25.jar and xclude.jar (*my ant task) to $ANT_HOME/lib and modified my test target to

<target name="test" description="Tests the new Ant task">
<taskdef name="xclude" classname="com.geekologue.tasks.xclude.Task"/>
<xclude before="kupu/dist.kupu" after="kupu/dist.kupu.included"/>
</target>

and now the error is a java.lang.NoSuchMethodError [1]!

I was going to update my ant today (i still have 1.5.4) so i may get more clues after that...



[1]
test:
[xclude] Builder OK

BUILD FAILED
java.lang.NoSuchMethodError: nu.xom.xerces.XML1_0ParserConfiguration.resetCommon
()V
at nu.xom.xerces.XML1_0ParserConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.Builder.build(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)

Total time: 1 second
java.lang.NoSuchMethodError: nu.xom.xerces.XML1_0ParserConfiguration.resetCommon
()V
at nu.xom.xerces.XML1_0ParserConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.Builder.build(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)
nu.xom.xerces.XML1_0ParserConfiguration.resetCommon()V





Archive powered by MHonArc 2.6.24.

Top of Page