I had the same thing yesterday. I had everything configured as per the instructions on this post but it still gave the error.
I had changed things other things but couldn't remember what, so I just re-installed the server from scratch and with the default settings and a custom map, it worked.