I tried the primary solutions given in How to import grovyx.net.http:, i.e.:
added: compile ":restrpc:0.9" to BuildConfig.groovy
also uncommented: mavenRepo "http://repository.codehaus.org" in BuildConfig.groovy.
I'm running IntelliJ IDEA 11.1.5, so it prompts to "refresh things" after making these changes, which I did. After that didn't work I closed the project and reopened it, but it still claims in cannot resolve groovyx:
import groovyx.net.http.*
What else should I do? If someone can give me insights on why this isn't more direct to resolve (i.e. why what I've got is wrong), I'd appreciate it. However right now just getting it to compile would be great. Thanks much.
(doing a grails clean and rebuild did not help unfortunately)