Wednesday, June 8, 2011

How can I fix Grails error: "No domain class found for name PrivacyOptions. Please try again and enter a valid domain class name" - Stack Overflow

How can I fix Grails error: "No domain class found for name PrivacyOptions. Please try again and enter a valid domain class name" - Stack Overflow

it's not projectname.Class , it must be dirname.classname .

eg: your projectname is Helloworld, the directory is "grails-app/domain/helloworld/User.groovy" . so , the command is "grails generate-all helloworld.User" ,but not "Helloworld.User"

No comments:

Post a Comment