Errors running builder 'JavaScript Validator' on project

eclipse 中每次修改js或者Java代碼後保存都會出現下面的錯誤:
Errors occurred during the build.
Errors running builder 'JavaScript Validator' on project 'school_course'.
org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement cannot be cast to org.eclipse.wst.jsdt.internal.compiler.ast.AbstractVariableDeclaration

解決辦法:

在設置裏面輸入mark occ 就能看到js裏面有個選項,去掉Mark occurrences of the selected......選擇項即可

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章