Fresh install of IDE - Build errors

  • Platform information:
    • Hardware: x64
    • OS: Windows 10
    • Java Runtime Environment: 1.8.0_251
    • openHAB version: 2.5.6
  • Issue of the topic: Hello all, I’ve followed the instructions here: https://www.openhab.org/v2.2/docs/developer/development/ide.html and I get the errors below listed in Eclipse, after doing a Clean. Any idea how to fix this?

=============

Description Resource Path Location Type
Project ‘org.openhab.core.model.item’ is missing required source folder: ‘model’ org.openhab.core.model.item Build path Build Path Problem
Project ‘org.openhab.core.model.persistence’ is missing required source folder: ‘model’ org.openhab.core.model.persistence Build path Build Path Problem
Project ‘org.openhab.core.model.rule’ is missing required source folder: ‘model’ org.openhab.core.model.rule Build path Build Path Problem
Project ‘org.openhab.core.model.script.tests’ is missing required source folder: ‘src/main/resources’ org.openhab.core.model.script.tests Build path Build Path Problem
Project ‘org.openhab.core.model.script’ is missing required source folder: ‘model’ org.openhab.core.model.script Build path Build Path Problem
Project ‘org.openhab.core.model.sitemap’ is missing required source folder: ‘model’ org.openhab.core.model.sitemap Build path Build Path Problem
Project ‘org.openhab.core.model.thing’ is missing required source folder: ‘model’ org.openhab.core.model.thing Build path Build Path Problem
Project ‘org.openhab.ui.habmin’ is missing required source folder: ‘web’ org.openhab.ui.habmin Build path Build Path Problem
The project cannot be built until build path errors are resolved org.openhab.core.model.item Unknown Java Problem
The project cannot be built until build path errors are resolved org.openhab.core.model.persistence Unknown Java Problem
The project cannot be built until build path errors are resolved org.openhab.core.model.rule Unknown Java Problem
The project cannot be built until build path errors are resolved org.openhab.core.model.script Unknown Java Problem
The project cannot be built until build path errors are resolved org.openhab.core.model.script.tests Unknown Java Problem
The project cannot be built until build path errors are resolved org.openhab.core.model.sitemap Unknown Java Problem
The project cannot be built until build path errors are resolved org.openhab.core.model.thing Unknown Java Problem
The project cannot be built until build path errors are resolved org.openhab.ui.habmin Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.auth.oauth2client.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.automation.integration.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.automation.module.core.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.automation.module.script.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.automation.module.timer.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.automation.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.binding.xml.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.bom.openhab-core-index Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.config.core.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.config.discovery.mdns.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.config.discovery.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.config.discovery.usbserial.linuxsysfs.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.config.discovery.usbserial.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.config.dispatch.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.config.xml.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.ephemeris.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.io.rest.core.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.karaf Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.model.core.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.model.item.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.model.persistence.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.model.rule.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.model.thing.testsupport Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.storage.json.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.thing.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.thing.xml.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.boot is built. Cleaning and building all projects is recommended org.openhab.core.voice.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.model.item.ide is built. Cleaning and building all projects is recommended org.openhab.core.model.lsp Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.model.rule.runtime is built. Cleaning and building all projects is recommended org.openhab.core.boot Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.model.thing.testsupport is built. Cleaning and building all projects is recommended org.openhab.core.model.thing.tests Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.ui is built. Cleaning and building all projects is recommended org.openhab.core.io.rest.sitemap Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.ui is built. Cleaning and building all projects is recommended org.openhab.core.io.rest.ui Unknown Java Problem
The project cannot be built until its prerequisite org.openhab.core.ui is built. Cleaning and building all projects is recommended org.openhab.core.ui.icon Unknown Java Problem
The project was not built since it depends on org.openhab.core.model.item, which has build path errors org.openhab.core.model.item.ide Unknown Java Problem
The project was not built since it depends on org.openhab.core.model.item, which has build path errors org.openhab.core.model.item.runtime Unknown Java Problem
The project was not built since it depends on org.openhab.core.model.persistence, which has build path errors org.openhab.core.model.persistence.ide Unknown Java Problem
The project was not built since it depends on org.openhab.core.model.persistence, which has build path errors org.openhab.core.model.persistence.runtime Unknown Java Problem
The project was not built since it depends on org.openhab.core.model.rule, which has build path errors org.openhab.core.model.rule.ide Unknown Java Problem
The project was not built since it depends on org.openhab.core.model.rule, which has build path errors org.openhab.core.model.rule.runtime Unknown Java Problem
The project was not built since it depends on org.openhab.core.model.script, which has build path errors org.openhab.core.model.script.ide Unknown Java Problem
The project was not built since it depends on org.openhab.core.model.script, which has build path errors org.openhab.core.model.script.runtime Unknown Java Problem
The project was not built since it depends on org.openhab.core.model.sitemap, which has build path errors org.openhab.core.model.sitemap.ide Unknown Java Problem
The project was not built since it depends on org.openhab.core.model.sitemap, which has build path errors org.openhab.core.model.sitemap.runtime Unknown Java Problem
The project was not built since it depends on org.openhab.core.model.sitemap, which has build path errors org.openhab.core.ui Unknown Java Problem
The project was not built since it depends on org.openhab.core.model.thing, which has build path errors org.openhab.core.model.thing.ide Unknown Java Problem
The project was not built since it depends on org.openhab.core.model.thing, which has build path errors org.openhab.core.model.thing.runtime Unknown Java Problem

Please follow the latest instructions (maybe you found the page via a search) and don’t select openhab-core:

1 Like

Thanks, that fixed it!

I am having the same issues

Project 'org.openhab.core.model.item' is missing required source folder: 'model'
...

However I want to make changes to the core so imho I can’t deselect it.
How would I fix this?

I think you need to run maven first on all so it generates the source files and then refresh in eclipse (You can run with -DskipTests -DskipChecks=true to speedup the process).
Another option is to simply close the (model) project(s) it complains about. Then it will simply download those versions. This works unless you plan to change the syntax for xtend rules or configuration files and would need those projects.

See also this: