ANT_HOME is set incorrectly or ant could not be located .Please set ANT_HOME. 今天配置ant,奶奶的老是报错。 因为环境变量 ANT_HOME 和 JAVA_HOME 设置值不能有“;” ,把分号去掉即可成功了。 神奇!