Frank W. Zammetti [mailto:[EMAIL PROTECTED] writes ...
>It looks to me like your ObjectCreate rule is incorrect...
>I believe the class you reference must be the fully-qualified name.

That set me on the right track - thank you.  My ObjectCreate rule was actually 
OK because I specified the Class itself, not the name of the class as a String:

        digester.addObjectCreate("config/xdb-config", XdbConfig.class);

The other problem is that I did not do this:

        digester.setUseContextClssLoader(true);

to tell Digester to use the right class loader.  Once Digester was able to find 
all of the objects it had to create, it continued to blow up on my SetNext 
rules.  The reason here was exactly what you said.  I was not specifying the 
fully-qualified name.  the addSetNext() I am using looks like:

        digester.addSetNext(String, String, String) /* works only if class name 
is fully qualified */

I wouldn't have had this problem if there were one of these:

        digester.addSetNext(String, String, Class) /* does not exist */

so I might recommend adding that to Digester some time in the future.


Cool :-)

--Chris


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

Reply via email to