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