Error when running "mvn openmrs-sdk:run" command

I was also getting a similar error here irynah@irynah-HP-Spectre-x360-Convertible-13-aw0xxx:~$ mvn openmrs-sdk:run[INF - Pastebin.com.

This started today. Last week I was able to spin the server using the SDK without errors. I tried running mvn openmrs-sdk:setup-sdk -U so as to upgrade my SDK but still the server could not start. I also realised that when I run this command mvn openmrs-sdk:run the server too k a bit long to start, there’s a bunch of stuff that run before indicating that OpenMRS is ready for you at http://localhost:8080/openmrs/ But I remembered @ibacher in his post talking about the upgrades he made to Openmrs-sdk. He also mentioned that if you still want to use the old SDK then run this command mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.1.1:run <usual arguments here if any> to start the server(ofcourse with modifications of the content in the angle (<>) brackets.

Following his advice I have been able to successfully start my server with the old SDK. cc @smarthech and @sumedha . This could be of great help to you as well.

cc @jwnasambu , @dkayiwa

1 Like