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. - Pastebin.com
PS:
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
herbert24
(Herbert Yiga)
February 8, 2021, 5:55am
5
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](https://wiki.openmrs.org/pages/viewpage.action?pageId=117702695#OpenMRSSDK-installmiscellaneous) for detailed instructions.
Hope this helps!
3 Likes