java.lang.NoClassDefFoundError

org/grails/datastore/mapping/query/api/BuildableCriteria

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • java.lang.NoClassDefFoundError: org/grails/datastore/mapping/query/api/BuildableCriteria at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.privateGetPublicMethods(Class.java:2902) at java.lang.Class.getMethods(Class.java:1615) at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1336) at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1197) at java.beans.Introspector.getBeanInfo(Introspector.java:426) at java.beans.Introspector.getBeanInfo(Introspector.java:173) at grails.test.mixin.domain.TestGormEnhancer.getStaticApi(DomainClassUnitTestMixin.groovy:188) at org.grails.datastore.gorm.GormEnhancer.addStaticMethods(GormEnhancer.groovy:118) at org.grails.datastore.gorm.GormEnhancer.enhance(GormEnhancer.groovy:112) at org.grails.datastore.gorm.GormEnhancer.enhance(GormEnhancer.groovy:95) at grails.test.mixin.domain.DomainClassUnitTestMixin.mockDomains(DomainClassUnitTestMixin.groovy:99) Caused by: java.lang.ClassNotFoundException: org.grails.datastore.mapping.query.api.BuildableCriteria at org.codehaus.groovy.tools.RootLoader.findClass(RootLoader.java:179) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at org.codehaus.groovy.tools.RootLoader.loadClass(RootLoader.java:151) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 12 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
johnxflyjohnxfly
4 times, last one
musketyrmusketyr
Once,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
5 more bugmates