Error while trying to set up the environment.

Well sure,

The issue was that the POM file was missing after the command

mvn openmrs-sdk:create-project

So, the file is located in the "basicexamples" folder of the directory you have been executing all the commands.

So the command that was missing in the documentation I was following was:

cd basicexample
mvn clean install openmrs-sdk:run

After that you can follow the instructions as it is:

mvn clean install openmrs-sdk:run -DserverId=your_server_id

And the server will start running

You can follow this [guide](https://wiki.openmrs.org/pages/viewpage.action?pageId=117702695#OpenMRSSDK-installmiscellaneous) for detailed instructions.

Hope this helps!

3 Likes