probably a missing jar. download all of them. selenium, cucumber, junit and keep them all in 1 place. point to that place using build.xml.
and one more point check if there are multiple versions of any jar file.
ex.
junit 2.1.jar
junit 2.2.jar
don't do that delete one of those.