I am building a new AEM application , aem 6.3 SP1, maven archetype 12.
When I build core bundle , bundle is in INSTALLED status and when I expand the bundle, it says
org.apache.http.impl.nio.client -- Cannot be resolved
Any ideas ??
I have following dependencies in my parent pom, core bundle pom
<dependency> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpcore-nio</artifactId> | |
<version>4.4.4</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpasyncclient</artifactId> | |
<version>4.1</version> | |
<scope>provided</scope> | |
</dependency> |
Solved! Go to Solution.
Views
Replies
Total Likes
I could not find version 4.4.4 in provided dependencies.
Update the dependency to version 4.4.5. This should fix the issue.
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore-nio</artifactId>
<version>4.4.5</version>
<scope>provided</scope>
</dependency>
Always use dependency finder to fix such issue. http://localhost:4502/system/console/depfinder
Views
Replies
Total Likes
make sure you have jdk8 installed and picked up by aem
Views
Replies
Total Likes
I could not find version 4.4.4 in provided dependencies.
Update the dependency to version 4.4.5. This should fix the issue.
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore-nio</artifactId>
<version>4.4.5</version>
<scope>provided</scope>
</dependency>
Always use dependency finder to fix such issue. http://localhost:4502/system/console/depfinder
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies