Error while trying to set up the environment.

Hi there, Have been trying to set up the environment but have been getting build fail.

Paste Bin link: Windows PowerShellCopyright (C) Microsoft Corporation. All rights reserved. -


    • OS: Windows 10
    •    Java: 1.8
    •    Maven: 3.6
    •    MySQL: 5.6

I have tried running the MySQL server on docker as well. But that failed with error. ![image|690x283](upload://pisjUhVeshWUujzi2YFLVUlsBA4.png)

Hope you can help.

Second image of error with docker.

It worked at last. Thank you all.

1 Like

could you share what you did to solve the problem here

1 Like

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]( for detailed instructions.

Hope this helps!


It really helped :pray:t5: :pray:t5: :pray:t5: