NestableException cannot be resolved when using apache.commons.configuration

Noam Shaish picture Noam Shaish · Oct 25, 2011 · Viewed 14.4k times · Source

Im using the following:

import java.util.Collections;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

import org.apache.commons.configuration.XMLConfiguration;

and i get:

The type org.apache.commons.lang.exception.NestableException cannot be resolved. It is indirectly referenced from required .class files

Im using eclipse...

how can i resolve this? he offers me to Configure build path but i dont really know how to solve this collision from there.....

Answer

Noam Shaish picture Noam Shaish · Oct 31, 2011

Problem solved... had to download the commons-lang-2.4.jar and include in project.

couldnt be more simple than that....