Hello,

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
null.");
        this.confURL = confURL;

        //PipelineRuleSet needs a reference to [EMAIL PROTECTED]
org.apache.commons.digester.RuleSet RuleSet}s
        //used to parse the configuration file in case configuration is
split up between multiple
        //files.
        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,
Pim


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to