The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

567758 (1) [Avatar] Offline
#1
Hi,

I was trying to build docker image(mvn install docker:build) for chapter18/docker/hello-swarm example. I am getting bellow exception.

[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.25.2:build (default-cli) on project helloswarm-docker: Execution default-cli of goal io.fabric8:docker-maven-plugin:0.25.2:build failed: A required class was missing while executing io.fabric8:docker-maven-plugin:0.25.2:build: org/apache/http/config/Lookup
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>io.fabric8:docker-maven-plugin:0.25.2

I have made sure httpcore-4.4.6.jar is part of maven repository.

Will appreciate your help on this as I can not proceed with chapter 18.

Thank you.