If you really still want to use 2.5.12, you need to make a few changes before it will work see:
But 2.5.12 is already quite old now. So if you are just starting with openHAB, it is probably better to download/install openHAB 3.2.0 which was released last week.