1、ant编译build.xml文件时会遇到这个问题 2、解决办法: build.xml -- 右键Run As -- External Tools Configurations 3、选择JRE标签,选择Run in the same JRE at the workspace 相关文章: 2021-09-23 2021-05-23 2021-12-02 2022-12-23 2021-12-12 2021-06-26 2021-07-14