问:eclipse中执行build.xml文件的时候总是弹出“Building workspace has encountered a problem. Errors during build”
答:JRE错误,选中项目,点击右键——preferences——Builders——双击右侧"build.xml[Builder]",在弹出的窗口中找到JRE选项卡,发现它上面有错误标识,去掉“Separate JRE”的勾选,选择“Run in the same JRE as the workspace”
注:由于异常出现在公司项目,无法提供图片
答:JRE错误,选中项目,点击右键——preferences——Builders——双击右侧"build.xml[Builder]",在弹出的窗口中找到JRE选项卡,发现它上面有错误标识,去掉“Separate JRE”的勾选,选择“Run in the same JRE as the workspace”
注:由于异常出现在公司项目,无法提供图片