简体   繁体   中英

Errors occurred during the build. Errors running builder 'Java Builder' on project 'MyFirstProject'. java.lang.NullPointerException

I installed recently Eclipse IDE for Java Developers

Version: 2019-03 (4.11.0) Build id: 20190314-1200

When I create a project I receive the following error:

在此输入图像描述


'Building workspace' has encountered a problem. Errors occurred during the build.

Errors occurred during the build. Errors running builder 'Java Builder' on project 'MyFirstProject'. java.lang.NullPointerException


Please help

Make sure that eclipse was installed correctly, I encountered this error when I first installed it.

The issue for me was that the installer had not completley finished and encountered an error, so have a go at uninstalling and reinstalling and make sure that no websites come up saying that the jdk or jre are not installed.

Issue resolved by installing an older eclipse version (eclipse-java-2018-12-R).

it looks like its a bug in the new release.

To whoever face this issue in the future, I am using windows 10, 64 bit, home edition. and the eclipse version I have faced the issue with is Eclipse IDE 2019‑03

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM