Re: Little help on Java HTTP client

2012-05-21 Thread Torsten Mielke
I checked my local maven repo and have this class in org/apache/httpcomponents/httpcore/4.1.2/httpcore-4.1.2.jar Try adding this dependency to your maven pom or reference the jar directly on your classpath. Hope this helps. Torsten Mielke tors...@fusesource.com tmie...@blogspot.com On May

Re: Little help on Java HTTP client

2012-05-07 Thread Chris Robison
Yep, I tried that. The HTTP client for Java doesn't seem to work. Chris On Fri, May 4, 2012 at 7:17 PM, Jaskirat Bhatia jaskiratbha...@gmail.comwrote: Hi Chris Try adding http core jar, not sure if activemq ships this jar with it. If not then try to download this from here

Re: Little help on Java HTTP client

2012-05-07 Thread jaskirat singh
Hi Chris Are you running this project from eclipse? Can you attach your class path? if you are in linux or mac env then check your process and see if the jar is there in the java process path ps -ef | grep -i java The issue has to do with the missing jar and the classpath (if the exception you

Re: Little help on Java HTTP client

2012-05-07 Thread jaskirat singh
Also check if the jar actually has this class org/apache/http/message/AbstractHttpMessage On Mon, May 7, 2012 at 9:17 AM, jaskirat singh jaskiratbha...@gmail.comwrote: Hi Chris Are you running this project from eclipse? Can you attach your class path? if you are in linux or mac env then

Re: Little help on Java HTTP client

2012-05-07 Thread Chris Robison
I'm past that exception. The problem now is that my client is launching and promptly crashing while accessing the xml libraries. Let me get the exception for you and I'll post it. Chris On Mon, May 7, 2012 at 10:18 AM, jaskirat singh jaskiratbha...@gmail.comwrote: Also check if the jar

Re: Little help on Java HTTP client

2012-05-07 Thread Chris Robison
And in response to you comment about including the HTTP core jar in the project, apparently it does not included the abstract class that was missing. I had to go download the Apache HTTP components in full to get that. On Mon, May 7, 2012 at 12:00 PM, Chris Robison chrisdrobi...@gmail.comwrote:

Re: Little help on Java HTTP client

2012-05-07 Thread jaskirat singh
if you are passed that exception then you don't need any other jar for now. Now, you need to post the new exception you are getting. The above email thread does not mean anything for now :) On Mon, May 7, 2012 at 11:01 AM, Chris Robison chrisdrobi...@gmail.comwrote: And in response to you

Re: Little help on Java HTTP client

2012-05-04 Thread Jaskirat Bhatia
Hi Chris Try adding http core jar, not sure if activemq ships this jar with it. If not then try to download this from here http://findjar.com/class/org/apache/http/message/AbstractHttpMessage.html Sent from my iPad On May 4, 2012, at 10:47 AM, Chris Robison chrisdrobi...@gmail.com wrote: I'm