Meaningless Drivel is fun!*
The moose likes Groovy and the fly likes Problem in creating CRUD Controller and view Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Problem in creating CRUD Controller and view" Watch "Problem in creating CRUD Controller and view" New topic
Author

Problem in creating CRUD Controller and view

Ramesh Kumar Swarnkar
Ranch Hand

Joined: Sep 15, 2003
Posts: 84
Hi Friends,
I am newbie to grails technology.
I have generated the domain class called 'Player' by using the command:

I can see the the domain class 'Player.groovy' is present in 'C:\RAExcepManage\grails-app\domain\raexcepmanage' folder.

But, while generating CRUD Controllers and Views for my Application by using the command:-

it says that
"No domain class found for name Player. Please try again and enter a valid domain class name".

I could not understand why it is not able to read the domain class which is alreay in location ''C:\RAExcepManage\grails-app\domain\raexcepmanage" ?

I even checked the location 'C:\RAExcepManage\target\classes\raexcepmanage' and i can see the compile class for Player is availabel there, ie. Player.class.

Can some body give some pointer to know what is the problem here why it does not generating the CRUD Controllers and Views here ?

regards,
Ramesh
Ramesh Kumar Swarnkar
Ranch Hand

Joined: Sep 15, 2003
Posts: 84
Got it ..
it needs to have the complete package name, so it worked by invking :

Thanks Tarun !!



rgds,
Ramesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in creating CRUD Controller and view
 
Similar Threads
What does Groovy/Grails offer?
Grails 1.1 Web Application Development
why should one count on groovy and grails rather than java
Grails Development Process
[Grails] Passing user object into hiddenField