I\'m getting an exception when I try to run my application (in eclipse) complaining about log4j.dtd. Am I meant to have a dtd file if I use the xml configuration for log4j?
Ok, I got the answer to my problem, it turns out log4j doesn't need the dtd file to be located in your project or machine.
The error was caused by eclipse trying to run the log4j.xml file when I launched a run. Previously eclipse used to run the last run configuration, now it tries to run whatever is open and in focus in the editor. And it just happened that my log4j.xml configuration file was open, and whatever eclipse uses to run an xml file was trying to get to the dtd as per the configuration file.
Anyway, thanks a lot for your help.