Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Error: Cannot cast object 'grails.gorm.validation.PersistentEn:ngGenerateAll' #19

Open
bitsnaps opened this issue Aug 18, 2018 · 1 comment

Comments

@bitsnaps
Copy link

Hello,
I just created a new grails project using the profile angularjs, and then created an empty domain (Post) with one property 'title', when I run ngGenerate Post I got:

Command execution error: Cannot cast object 'grails.gorm.validation.PersistentEn:ngGenerateAll FAILED
ator' to class 'org.grails.validation.GrailsDomainClassValidator'
FAILURE: Build failed with an exception.

| Grails Version: 3.3.6
| Groovy Version: 2.4.15
| JVM Version: 1.8.0_181
OS: OSX 10.12
build.gradle is the default generated by create-app command with "angularjs-scaffolding:1.0.3"

@zimyx
Copy link

zimyx commented Oct 10, 2018

same problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants