Category Archives: Groovy

Null message in Grails

      No Comments on Null message in Grails

I had a domain object Where Rso itself is another domain object. Both projectTitle and rso could not be blank or null. when I tried project.projectTitle.blank message in messages.properties, it worked but project.rso.null was not working. I was trying project.rso.null because the default message was mapped as default.null.message. Then someone… Read more »

Grails : No domain class found for name domain-class-name . Please try again and enter a valid domain class name

Sometimes, even if you create domain objects in grails you get the error that No domain class found. I am not sure why this happens because I am new to Grails and still learning. But the following steps work for me i) Stop all the running grails app ctrl+C ii)… Read more »