OpenMRS API Set up

Application Name: Reference Application Version Number: 2.1.4

Question: Hello, I am new to the OpenMRS project. I am currently trying to use the openmrs-api 2.0.4.1 to connect to a Reference Application deployed in the same server. However, I am unable to get past the Context.startup(). I have supplied it with the proper database url along with username and password. Upon running the server, I get the following APIException: Service not found: interface org.openmrs.messagesource.MessageSourceService.

Any thoughts on how to fix this?

Did you take a look at this? https://wiki.openmrs.org/display/docs/REST+Module

are you fixed this issue same issue i am getting ?