删除项目.project文件中的
<buildCommand> <name>org.eclipse.wst.jsdt.core.javascriptValidator</name> <arguments> </arguments> </buildCommand>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>