Document 1020 fails to explain the jar files needed in the classpath...
Fix this error in eclipse by adding Jar files to to the libraries tab in class path.
project properties> Java build path> Libraries tab>
then select all of the jar files in the build/lib/dist directory
as well as all jar files in build/lib/merge/ directory
plus the jars from any of the plugins you may be using