I’ve installed Grails 2.1.2 and created a project.
When I run my project, the default page lists the following under Available Controllers:
grails.plugin.databasemigration.DbdocController
Not wanting to have to deal with this controller (which apparently doesn’t work by default), I decided to try and get rid of it. Of course, the first thing I find is that there is no such controller under my project’s controllers directory.
Having read that this controller is related to the database-migration plugin, I promptly uninstall this plugin using the grails uninstall-plugin command. This is successful according to Grails, but the controller is still there. The next thing I tried was to delete this plugin from my project’s plugins directory, but I find that there is no such directory in my project.
How would I get rid of this virtual controller?
If you don’t need database migrations (this is unlikely) then you can uninstall the plugin by removing it from your
BuildConfig.groovy. There’s no other way to remove the controller. Note that it’s disabled by default in prod, so there’s no need to remove it.