[jboss-dev-forums] [JBoss ESB Development] - httprouter issues with GET/POST WADL Services and Web Routing
jack lista
do-not-reply at jboss.com
Wed Jul 14 15:08:26 EDT 2010
jack lista [http://community.jboss.org/people/jackalista] replied to the discussion
"httprouter issues with GET/POST WADL Services and Web Routing"
To view the discussion, visit: http://community.jboss.org/message/552612#552612
--------------------------------------------------------------
Hi Dave, thanks for the info. I'm trying to build the stuff now, but I'm getting an error on the HTTPClient:
[javac] /home/jack/java/jboss/jboss-soa-p.5.0.0/jboss-as/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/JerseyClientSingleton.java:9: package com.sun.jersey.client.apache does not exist
[javac] import com.sun.jersey.client.apache.ApacheHttpClient;
from this import in JerseyClientSingleton.java (line 9):
import com.sun.jersey.client.apache.ApacheHttpClient;
I took your advice (perhaps incorrectly) and put these 3 jars in my project lib folder but am still getting the compilation error:
asm-3.1.jar
jersey-bundle-1.3.jar
jsr311-api-1.1.jar
I put these in the lib directory of the project, which is the "simple_cbr" jboss quickstart which I'm using to test this stuff. Am I missing a jar? Or does it need to go in a different lib dir? I was looking at this link for dependencies, I'm using ant (the quickstarts all use ant), so I'm following the instructions for non-maven developers:
https://jersey.dev.java.net/nonav/documentation/latest/user-guide.html#chapter_deps https://jersey.dev.java.net/nonav/documentation/latest/user-guide.html#chapter_deps
Whoops, I looked through the zip file for jersey (I'm using 1.3, hope that's ok) and found the apache client jar and threw it in my project lib dir and now it built... wooo!
OK, no need to respond here, I'm mostly posting this to help the next poor sap to come along :)
So the jars needed are:
asm-3.1.jar
jersey-bundle-1.3.jar
jsr311-api-1.1.jar
jersey-apache-client-1.3.jar
I'm sure I'll have more to say but thanks loads Dave, really appreciate your help!!
-=j=-
--j
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/552612#552612]
Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2032]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100714/03479f53/attachment.html
More information about the jboss-dev-forums
mailing list