Here's the solution that finally worked for me, and that includes locating
the log4j class. This is all in my Ant task:
ClassPathXmlApplicationContext applicationContext = new
ClassPathXmlApplicationContext();
applicationContext.setClassLoader(this.getClass().getClassLoader());
Here's another old post that corroborates the one I linked to:
http://www.mail-archive.com/user@ant.apache.org/msg22871.html
This poster isolated the problem with the base class of
ClassPathXmlApplicationContext,
org.springframework.core.io.DefaultResourceLoader. And I notice that
DefaultResourceL