右键项目-》properties->builders->把javascript validator的钩去掉-》刷新一下项目 当然如果是maven项目,需要在项目上右键-》maven->update project