Grails / IntelliJ: trouble with simple groovy import? -


i'm following burt beckwith's (grails developer , author) use of heroku indicated here in grails book. (see import statement @ top of link -- that's what's giving me problems).

i added following buildconfig.groovy burt indicates:

  runtime 'postgresql:postgresql:8.4-702.jdbc3'  // in dependencies section described    compile ':heroku:1.0.1'  // in plugins section described. 

then intellij prompted me update ide buildconfig changes, did. exited , restarted intellij see if might rid of import error for:

 import grails.plugin.heroku.postgresqlserviceinfo 

it did not rid of import error, complains when addition of:

 postgresqlserviceinfo info = new postgresqlserviceinfo() 

in bootstrap class shown in example. doing wrong / how fix kind of stuff?

in idea need open tools | grails | plugins, select heroku plug-in , click apply changes.

this configure module plug-ins , add module dependencies of application.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -