java.lang.NoClassDefFoundError: org/grails/datastore/mapping/query/api/BuildableCriteria
Looking at the classpath configuration I can see two grails-datastore-core jars loaded:
|Downloading: org/grails/grails-datastore-core/3.1.4.RELEASE/grails-datastore-core-3.1.4.RELEASE.pom
|Downloading: org/grails/grails-datastore-gorm/3.1.4.RELEASE/grails-datastore-gorm-3.1.4.RELEASE.pom
|Downloading: org/grails/grails-datastore-simple/3.1.4.RELEASE/grails-datastore-simple-3.1.4.RELEASE.pom
|Downloading: org/grails/plugins/scaffolding/2.1.0/scaffolding-2.1.0.pom
|Downloading: org/grails/plugins/asset-pipeline/1.9.9/asset-pipeline-1.9.9.pom
|Downloading: org/grails/plugins/webxml/1.4.1/webxml-1.4.1.pom
|Downloading: org/grails/plugins/build-info/1.2.8/build-info-1.2.8.pom
|Downloading: org/grails/plugins/uploadr/1.1.1/uploadr-1.1.1.pom
|Downloading: org/grails/plugins/sass-asset-pipeline/1.9.0/sass-asset-pipeline-1.9.0.pom
|Downloading: org/grails/plugins/asset-pipeline/1.9.2/asset-pipeline-1.9.2.pom
|Downloading: org/grails/plugins/cache-ehcache/1.0.5/cache-ehcache-1.0.5.pom
|Downloading: org/grails/plugins/cache/1.1.8/cache-1.1.8.pom
|Downloading: org/grails/grails-datastore-core/3.1.0.RELEASE/grails-datastore-core-3.1.0.RELEASE.pom
|Downloading: org/grails/grails-datastore-gorm/3.1.0.RELEASE/grails-datastore-gorm-3.1.0.RELEASE.pom