This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Third Party Modules with Grape (HTTPBuilder in particular)  RSS feed

J Solomon
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm currently running Groovy 1.8.8 on Java 1.6.0_16. I have a grails project that I'm trying to make simple get requests to and HTTPBuilder looks like just the tool for this type of job. I've hit a brick wall with this and I'm not sure where to go from here. I've used Grape to install the http-builder module via the following command:

Looks like Grape picks up the dependencies and installs everything:

Now I would assume that if i fired up a groovy console, I would be able to import any of these classes, but I'm not able to:

but I get the following error:

Am I missing something here?

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!