NestableException belongs to commons-lang, which is a dependency of
commons-configuration. You will have to add the corresponding jar to
your classpath, too.
There are still some more dependencies. A full list can be found here:
http://jakarta.apache.org/commons/configuration/dependencies.html
(This list is quite long, but you need only the dependencies for the
configuration components you want to use.)
Oliver
Javier wrote:
> Hi All
>
> I´ve the following code,
>
> try {
> pc = new PropertiesConfiguration("a.ini");
>
> } catch (ConfigurationException ce) {
> //System.err.println(ce.getMessage());
> }
>
> and at compile time I received the message:
>
> cannot access
> org.apache.commons.lang.exception.NestableException
> file
> org\apache\commons\lang\exception\NestableException.class
> not found.
>
> I´ve commons-configuration-1.0.jar in my class path
> but inside this file there no one filed called
> NestableException.class
>
> How could I solve this error ?
>
> Thanks in advance
> Javier
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
|