# Build in Eclipse fails with many errors

**URL:** <https://community.openems.io/t/build-in-eclipse-fails-with-many-errors/263>\
**Category:** Uncategorized\
**Created:** [July 27, 2020, 7:36pm UTC](https://community.openems.io/t/build-in-eclipse-fails-with-many-errors/263 "2020-07-27T19:36:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stefan.feilmeier](https://community.openems.io/user_avatar/community.openems.io/stefan.feilmeier/32/2585_2.png) [@stefan.feilmeier](https://community.openems.io/u/stefan.feilmeier)\
**Post date:** [July 27, 2020, 8:06pm UTC](https://community.openems.io/t/build-in-eclipse-fails-with-many-errors/263/2 "2020-07-27T20:06:47Z")

</div>

Hi,

yes… this can happen from time to time. Most likely Eclipse did not recognize latest file changes. Here are some tips to get rid of build errors in Eclipse:

- Select all bundles in “Bndtools Explorer” ( **Ctrl + A** ) and press **F5** to refresh them.

> This helps, if Eclipse did not recognize no files in existing bundles.

- Open **File** → **Import** in the menu and select **Bndtools** → **Existing Bnd Workspace** to reimport all bundles

> This helps, if there were new bundles added in the meantime. Those are not opened automatically by Eclipse and would give you an error while resolving a bndrun file.

- Open **Bndtools** → **Refresh Repositories** in the menu

> This makes sure the _pom.xml_ file is re-read and external dependencies and libaries are downloaded or updated.

- Open **Project** → **Clean…** in the menu, select **Clean all projects** and press the **Clean** button

> This builds again all projects. Usually this is should be done automatically, but who knows…

- If all of the above do not help, you can always create a new workspace as described in [Getting Started](https://openems.github.io/openems.io/openems/latest/gettingstarted.html)

> This should be never required. I personally switch branches quite often for reviews and new developments and did not have to rebuild my workspace since many months.

Regards,  
Stefan

---

_[View the full topic](https://community.openems.io/t/build-in-eclipse-fails-with-many-errors/263)._
