欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Errors occurred during the build.

程序员文章站 2022-06-09 22:29:33
...

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”的勾。