ant bulid 报错

解决方法一 将“workspace /.metadata/.plugins/org.eclipse.debug.core/.launches/”下的文件都删除掉。

解决方法二:(原因,正确的解决)在项目中,右键点击ant文件,选择Run As -- External Tools Configuration,在这个页面的顶端就会看到有红叉叉的报错,报错信息就是Specified VM install not found: type Standard VM。
然后选择JRE tab页,在这里可以重新指定所使用的JRE,或者干脆选择“Run in the same JRE as the workspace”

你可能感兴趣的:(ant bulid 报错)