Errors occurred during the build.

2011-11-18 21:17

Errors occurred during the build.

最近在用eclipse,突然有一天开始,老报错:Errors occurred during the build.

百思不得其解,以为是配置文件崩溃了,后来查了下,发现答案如下:

编译时经常出现:

Errors occurred during the build.
Errors running builder 'JavaScript Validator' on project 'PMCnew'.
java.lang.NullPointerException

这个主要是JS的校验比较纠结,经常导致编译出错,这时把JavaScript Validator去掉即可。

选择项目--右键Properties--Builders--如果有则取消第一项“JavaScript Validator”的勾。

你可能感兴趣的:(eclipse,error,Build)