The Dotcms 2.x distro is running a bit behind the latest apache tomcat 6 version and while Dotcms does not think that will cause any specific problem, you might want to upgrade your installation to a newer version. Here are the rough steps needed to upgrade to the latest version of tomcat 6.
package com.dotmarketing.compilers;
import java.io.FileNotFoundException;
import com.dotmarketing.exception.DotRuntimeException;
public class DotJdtCompiler {
public static DotCompilationProblems compileClass(String mySourceFile, String myClassName, String myOutputDir)
throws FileNotFoundException, DotRuntimeException {
return null;
}
}