Guidance on how to solve error in IDE

Good afternoon everyone

Am still new on openmrs and learning, after cloning an issues from openmrs-core, i opened IDE and browsed into that project but it is giving me this error, is this the error in the issues which am suppose to work on or it is the error for anyother thing. please some help.

Try to refresh and clean the project by following these steps:

  • Right-click the project → Refresh

  • Then Project → Clean→ Clean the affected project

  • Restart the IDE

Juliet thank you so much.

But here it is still showing these errors ( in x) after doing these steps Right-click the project → Refresh

  • Then Project → Clean→ Clean the affected project

  • Restart the IDE, please may i know what i should do next?

Well, the steps I shared above were addressing IDE project metadata corruption or misconfiguration. Meaning the IDE couldn’t correctly read or load the project’s configuration, not that your application code was broken. Kindly try expanding the errors(100 of 25937) you may see something like Artifacts cannot be resolved to a type . The root course is Java cannot find a class named Artifacts on the classpath which shouldn’t bother you.

Okay let me first check it

Juliet, am really very sorry to be disturbing you, please dont get tired of me.

Like you did say that i first expand i may see something like Artifacts cannot be resolved to a type, but here is what i found

and this

Kindly all those errors are Java compilation errors that happens when the compiler cannot find a class or type named e.g Access, Artifacts .e.t.c. The only error I would get worried of is the one displayed after running mvn clean install command.

So that means i can start working on this issues even if it shows these errors in ‘x’

Kindly did you run mvn clean install to install the depencies?

Hello Juliet after run mvn clean install to install

the depencies,this is what i get

So sorry about it. Is the error before or after making changes.

He needs Java 21 or above.

okay, i appreciate your guidance