Closed stefankendall closed 12 years ago
The grails.serverURL has now been removed because this can quite easily break the redirects if you run the app on a different port. However, the underlying bug has been fixed.
Again, sorry for missing this contribution and a belated thanks!
Add default grails.serverURL for development environments, as run-app breaks without it.
The breakage when grails.serverURL isn't present is rather obscure, stating "ConfigObject cannot be cast to string...". If you haven't seen this before, it's unlikely you'll know how to fix it. The development environment is probably almost always localhost:8080 for a new checkout, and this makes it a little easier to start a server for the first time. Anyone who knows to change grails.serverURL still can. This default isn't dissimilar to the default mysql datasource - it's just an easy configuration to get you going.