Category Archives: Groovy

Null message in Grails

      No Comments on Null message in Grails

I had a domain object [sourcecode language=’java’] class Project{ String projectTitle Rso rso } [/sourcecode] 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… 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 »

Groovy – Hype or Hope?

      No Comments on Groovy – Hype or Hope?

Last week I have attended a Java User Group meeting in Bloomington, MN. The speaker Mark Rausch made a solid case for Groovy as the gen-next application. He talked about how Java Scripting recognizes the “pain points” of the Java Developer community. Learning Groovy and using is not difficult at… Read more »