I have added the following entry to BuildConfig.groovy:
compile ":rest-client-builder:2.1.1"
The plugin supposedly installed correctly and the project compiled.
I am trying to import the RestBuilder class in a controller but the class name cannot be resolved?
import grails.plugins.rest.client.RestBuilder
Groovy:unable to resolve class grails.plugins.rest.client.RestBuilder
I have no spent an hour and a half trying to figure out why this is not working. I am not sure what else to do or what information to provide as to get this working. Can anyone well versed in groovy explain how this could be or offer some advice??
Thank you
I used
grails clean-all
andgrails compile
from grails console(Windows command prompt).Using the same in intellij(v15.0) run target did not work for me.