Issues with OpenMRS - Exception while creating elements

I was successfully able to setup open mrs. However, while creating & saving person, I am getting following error :-

Also, there were continuous alerts :-

There was an error starting the module: Registration Core Module

Could anyone please help me with the issue.

Which version of openmrs-core are you using?

Checkedout the code from and built it on my system.

How do I get the version?

It’s given in the pom. xml file in root directory.

It’s 2.4.0-SNAPSHOT

Try compiling the snapshot version of different modules you are using and then copy the generated .omod files into modules folder in .OpenMRS directory.

Where would I get list of versions to choose from. And what combination should I take.