选中项目,点击菜单栏project-->properties属性里的 Java Compiler-->Building-->Abort build when build path errors occur 前面的勾去掉!!