Search code examples
eclipseclasscollisionresolve

NestableException cannot be resolved when using apache.commons.configuration


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.....


Solution

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

    couldnt be more simple than that....