Error: Appengine is already registered

The context:

I am using Google App Engine along with Grails AppEngine plugin. At some point I started getting an exception when I was trying to start my development server. The only thing I had done before I got the error was- I had switched from App Engine SDK  1.2.5 to 1.2.8.

The solution

The problem is that [...]