This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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