Beware of a weird grails config option!
To create a war file that can be deployed to a web server you would use grails war file_name.war, however this by default includes any plugins (so it seems) that you have installed with the application that you would not necessarily want deployed and can cause serious issues when deployed to your web server. So the fix is to use grails prod war file_name.war and the plugins are not included.