Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants