This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in creating CRUD Controller and view

 
Ramesh Kumar Swarnkar
Ranch Hand
Posts: 84
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 84
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it ..
it needs to have the complete package name, so it worked by invking :

Thanks Tarun !!



rgds,
Ramesh
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic