1.Project --> clean... 如果该操作无效,请执行2.
2.Preferences -->Java -->Compliler -->Building -->去掉Abort build when build path errors occur 前面的勾.