aspose file tools
The moose likes Groovy and the fly likes Problem in creating CRUD Controller and view Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other Languages » Groovy
Reply 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: 71
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: 71
Got it ..
it needs to have the complete package name, so it worked by invking :

Thanks Tarun !!



rgds,
Ramesh
 
 
subject: Problem in creating CRUD Controller and view
 
Threads others viewed
Grails 1.1 Web Application Development
What does Groovy/Grails offer?
Grails Development Process
why should one count on groovy and grails rather than java
[Grails] Passing user object into hiddenField