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......选择项即可