Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.
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

Description

@bitsnaps

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions