commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pim Tjeertes" <>
Subject DigesterPipelineFactory(URL confURL) Is unable to set ruleset
Date Wed, 29 Oct 2008 21:53:30 GMT

I'm trying out the Pipeline because the concept intriges me.
Ofcourse I'm starting with a really simple example using the
DigesterPipelineFactory(URL confURL).

But when I do I get a Exception in thread "main"
java.lang.NoClassDefFoundError: org/apache/commons/digester/RuleSetBase

I think I found out why;
    public DigesterPipelineFactory(URL confURL) {
        if (confURL == null) throw new
IllegalArgumentException("Configuration file URL may not be
        this.confURL = confURL;

        //PipelineRuleSet needs a reference to {@link
org.apache.commons.digester.RuleSet RuleSet}s
        //used to parse the configuration file in case configuration is
split up between multiple
        ruleSets.add(new PipelineRuleSet(ruleSets));

I think this is the problem: (Its setting itself to itself instead of the
new file I gave the Digestor)
ruleSets.add(new PipelineRuleSet(ruleSets));
I would have expected something like:
ruleSets.add(new PipelineRuleSet(this.confURL));

Can somebody verify whether my assumption is correct or that I'm doing
something stupid?

Kind regards,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message