groovy - How to import groovyx.net.http in a Grails application -
i tried primary solutions given in how import grovyx.net.http:, i.e.:
added: compile ":restrpc:0.9" buildconfig.groovy
also uncommented: mavenrepo "http://repository.codehaus.org" in buildconfig.groovy.
i'm running intellij idea 11.1.5, prompts "refresh things" after making these changes, did. after didn't work closed project , reopened it, still claims in cannot resolve groovyx:
import groovyx.net.http.*
what else should do? if can give me insights on why isn't more direct resolve (i.e. why i've got wrong), i'd appreciate it. right getting compile great. much.
(doing grails clean , rebuild did not unfortunately)
add build config:
runtime 'org.apache.httpcomponents:httpclient:4.2.1' runtime "org.codehaus.groovy.modules.http-builder:http-builder:0.5.2", { excludes "commons-logging", "httpclient", "xml-apis", "groovy" }
Comments
Post a Comment