Grails IllegalStateException On CommandObjects

A very small but I’m sure useful snippet here for anyone banging their head against a wall trying to figure out why they cannot validate command objects. Or even why submitting a form they get this rather misleading exception message from Grails. Method on class [com.tucanoo.SomeCommandObject] was used outside of a Grails application. If running […]