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

**URL:** <https://talk.openmrs.org/t/error-when-running-mvn-openmrs-sdk-run-command/35165>\
**Category:** Development\
**Created:** [November 20, 2021, 3:35pm UTC](https://talk.openmrs.org/t/error-when-running-mvn-openmrs-sdk-run-command/35165 "2021-11-20T15:35:30Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![irenyak1](https://talk.openmrs.org/user_avatar/talk.openmrs.org/irenyak1/32/6339_2.png) [@irenyak1](https://talk.openmrs.org/u/irenyak1)\
**Post date:** [November 22, 2021, 10:14am UTC](https://talk.openmrs.org/t/error-when-running-mvn-openmrs-sdk-run-command/35165/7 "2021-11-22T10:14:05Z")

</div>

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

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](https://talk.openmrs.org/t/announcing-openmrs-sdk-4-2-0/35153) 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

---

_[View the full topic](https://talk.openmrs.org/t/error-when-running-mvn-openmrs-sdk-run-command/35165)._
