hi im trying to use apatche 4.0.1 using the post methode in this example but i got HttpEntity ClassNotFound exception
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You are not correclty including the httpcore jar into your class path. Are you running it as a jar, webapp or just application via some IDE?
Edit: Based on your comment.
ClassNotFoundException: org.apache.commons.logging.LogFactory
Thats your culprit. Im assuming httpcore uses LogFactory and you are not including it in your classpath. Look for commons-logging.jar and include that in your classpath as well.