我使用的是官網標准版的eclipse4.3 for javaEE, 寫JS時卡的簡直無法忍受,嘗試去掉所有的validate,包括菜單和項目屬性中的都沒作用。
整個人都急瘋了~
后來在項目根目錄.project文件中, 把紅色對應的配置段全部刪去后。 歐拉拉~ 問題解決
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ucomweb</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<!-- <name>org.eclipse.wst.validation.validationbuilder</name> -->
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jst.j2ee.ejb.annotations.xdoclet.xdocletbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<!-- <nature>org.eclipse.wst.jsdt.core.jsNature</nature> -->
</natures>
</projectDescription>