Description
Right now NutchConf uses it's own static classloader which is evil in a J2EE scenario.
This is simply fixed. Line 52:
private ClassLoader classLoader = NutchConf.class.getClassLoader();
Should be:
private ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
This means no matter where Nutch classes are loaded from, it will use the correct J2EE classloader to try to find configuration files (ie from WEB-INF/classes).