DefaultHttpClient code note working. | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

According to this, you have some missing packages(marked in red), you will have to add the dependency and embedd the jars along with your bundle

2 replies

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
October 16, 2015

According to this, you have some missing packages(marked in red), you will have to add the dependency and embedd the jars along with your bundle

AnuragDatta1430
October 16, 2015

Hi Bsloki,

I have added all the maven dependency in the pom but still its not working.

 whenever i add below dependency, its start showing error in felix console and my bundle remains in Installed mode.

        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>4.1.1</version>
        </dependency>

 

I have also create a new project using cqblueprint(cqblueprints.com/setup/maven.html) but the same issue came once i add the above dependency.

 

Anurag