Created a domain class, Student.
Created a controller, in controller called
def p = new Student()
p.save()
It says
No signature of method: hazelgrails.Student.save() is applicable for argument types: () values: []
Possible solutions: save(), save(boolean), save(java.util.Map), wait(), any(), wait(long). Stacktrace follows:
Message: No signature of method: hazelgrails.Student.save() is applicable for argument types: () values: []
Possible solutions: save(), save(boolean), save(java.util.Map), wait(), any(), wait(long)
Are domain CRUD operations not allowed in plugin project?
I am lazy developer, do not want to create a test application and packge/install plugin everytime I code.
They are. Are you sure you’ve put your
Studentclass under thedomaindirectory?You can avoid this overhead by loading the plugins in-place