This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

netbeans grails def new not found, yet grails without netbeans can fin def new  RSS feed

Jim Smiley
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running the tutorial creating a Book and Author db. The bootstrap is creating data for the Book table. IN Netbeans6.9.1 I get the error in the Bootstrap.groovy file that trying to create data in the Book table The data does not show. When I run a grails project (not in Netbeans plugin ) the def new Book is created and the data is shown in the table list.
class BootStrap {
def init = { servletContext ->
new Book(author:"Stephen King",title:"The Shining").save()

def destroy = {

error is at "new"
What is wrong? with my Netbeans.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!