Another issue which took considerable amount of my time to resolve is the following.
D:\CruiseControl\BuildServer\WorkArea\SampleCCProject\build-cc.xml:10: The following error occurred while executing this line:
D:\CruiseControl\BuildServer\WorkArea\SampleCCProject\build.xml:56: java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.createTempFile(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;ZZ)Ljava/io/File;
This is because of Ant and JUnit version mismatch.I was initially using Apache Ant 1.7.1 because its latest release as on date. I got rid of it by using Ant 1.6.5 with JUnit 3.8.2 ( comes with CruiseControl )