This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Groovy and the fly likes netbeans grails def new not found, yet grails without netbeans can fin def new Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Languages » Groovy
Reply Bookmark "netbeans grails def new not found, yet grails without netbeans can fin def new" Watch "netbeans grails def new not found, yet grails without netbeans can fin def new" New topic
Author

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

Jim Smiley
Greenhorn

Joined: Sep 21, 2007
Posts: 8
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: netbeans grails def new not found, yet grails without netbeans can fin def new
 
Similar Threads
Grails 1.1 Web Application Development
Bootstrap not working
LDAP with Grails
Trouble mocking grailsApplication properties in integration test
Critique Please