commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Heger <>
Subject Re: [configuration 1.2] Unexpected 'NoSuchMethodError' exception
Date Wed, 08 Mar 2006 16:43:06 GMT
Elifarley Callado Coelho Cruz wrote:

>I have a project in Eclipse in which I try to call the method
>'setReloadingStrategy' as follows:
>PropertiesConfiguration conf = new PropertiesConfiguration("blah");
>FileChangedReloadingStrategy RELOADING_STRATEGY = new
>The Eclipse editor window shows no compilation error, but when I run it, I get:
>To temporarily solve this problem, I had to compile the source files
>found at the zip archive '' (which
>comes with the binary dist of commons-configuration).
>Is the commons-configuration 1.2 archive corrupted ? Has anyone else
>experienced this kind of problem ?
So far no problems have been reported. The reloading strategies exist
since version 1.1 and are probably one of the wider used elements of
Commons Configuration. So I am quite sure that we would have got much
feedback if the 1.2 jar was broken.

Do you have a special lounch configuration when you start your
application from eclipse? If the setReloadingStrategy() method cannot be
found, this means that the classpath must contain classes from the 1.0
version of Configuration. Perhaps in the JDK's lib/ext directory? Or
maybe bundled with another library you use?

Perhaps the article in [1] can help you to find out from where the
Configuration classes are loaded. It describes an utility class named
JWhich that does exactly that.



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

View raw message