Set cache.region.factory_class = 'org.hibernate.cache.ehcache.EhCacheRegionFactory' in DataSource.groovy. This