grails-plugins / grails-angular-scaffolding

9 stars 6 forks source link

Error running ngGenerateAll with Grails 3.3.0 #5

Closed rmorrise closed 7 years ago

rmorrise commented 7 years ago

When I add this plugin to my Grails project and try to run 'ngGenerateAll', I get an error. It looks like this plugin has not been updated to the latest GORM version:

Command execution error: Cannot cast object 'grails.gorm.validation.PersistentEntityValidator@5f6a8efe' with class 'grails.gorm.validation.PersistentEntityValidator' to class 'org.grails.validation.Gr
ailsDomainClassValidator'

I am using Grails v3.3.0, plugin version 2.0.0.RC1.

wiggitamoo commented 7 years ago

I am also seeing an error when using

, but the error I see says:

Error occurred running Grails CLI: No profile found for name [angular].

prabhug1987 commented 7 years ago

I am using Grails v3.3.0, plugin version 2.0.0.RC1 and I also got the same error when I ran this command 'gradlew ngGenerateAll -Pargs="my.first.angular.Employee"'

Command execution error: Cannot cast object 'grails.gorm.validation.PersistentEntityValidator@4c579b5b' with class 'grails.gorm.validation.PersistentEntityValidator' to class 'org.grails.validation.GrailsDomainClassValidator'

Please help me.

jameskleeh commented 7 years ago

@prabhug1987 Use RC2

prabhug1987 commented 7 years ago

Hi James,

It worked for me...

Thanks Prabhu

On Fri, Sep 15, 2017 at 6:36 PM, James Kleeh notifications@github.com wrote:

@prabhug1987 https://github.com/prabhug1987 Use RC2

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/grails-plugins/grails-angular-scaffolding/issues/5#issuecomment-329777320, or mute the thread https://github.com/notifications/unsubscribe-auth/AAgisYd4A1WtApCdMiylwLRLVgkVAX0lks5sinZIgaJpZM4OnxvI .

-- with regards,

Prabhu.G