What do you mean with "saying that src is the classpath", and how is this specified in the XML file?
The source folder of your project should not be in the classpath. The classpath is the set of directories and JAR files that
Java searches in to find
*.class files (compiled classes), not source files (
*.java) - therefore the
src directory does not belong in the classpath.