Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do.
-- Steve Jobs

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