查了半天,原来又是IDE的问题!!! 解决方案: window-->preference-->Eclipse-->Valdation-->将Manual和Build下复选框全部取消选择 之后 project->clean 即可