While running with jboss-5.0.0.Beta4 in case someone finds this error
Solution:
The ejb3.deployer is present in deployers folder instead of deploy folder.
Open the build.xml and modify the classpath entry as
The ejb3.deployer is present in deployers folder instead of deploy folder.