File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Groovy and the fly likes Third Party Modules with Grape (HTTPBuilder in particular) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Third Party Modules with Grape (HTTPBuilder in particular)" Watch "Third Party Modules with Grape (HTTPBuilder in particular)" New topic

Third Party Modules with Grape (HTTPBuilder in particular)

J Solomon

Joined: Oct 08, 2012
Posts: 23
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?

I agree. Here's the link:
subject: Third Party Modules with Grape (HTTPBuilder in particular)
Similar Threads
Hibernate configuration issue: connection provider or hibernate.dialect issue
MyFaces Tomahawk 1.1.7 Examples cannot be run using myfaces-core-1.2.5 lib
Running unit tests and getting NoSuchMethodError: javax.persistence.OneToMany.orphanRemoval()Z
How do I install a 3rd party module in Groovy?
Glassfish deployment issues