I was going through the tomcat docs and trying to use the default build.xml file provided by the appdev tutorial to deploy my war to tomcat.
Example build.xml: http://tomcat.apache.org/tomcat-8.0-doc/appdev/build.xml.txt However, when I use the deploy task I always get a java.lang.NoClassDefFoundError: org/apache/tomcat/util/codec/binary/Base64 error. I've copied the relevant code here: https://gist.github.com/catphive/9845270 I've verified that tomcat-util.jar, which contains Base64.cass, is on the path, compile.classpath, passed to taskdef. I'm just trying to do a basic tomcat tutorial, and getting this deploy task to run is hanging me up. Any ideas what could be doing wrong? Are these deploy tasks broken somehow? Brendan