Mastering-Microservices-with-Java-Third-Edition icon indicating copy to clipboard operation
Mastering-Microservices-with-Java-Third-Edition copied to clipboard

Build fails on MacOS , Microservice deployment using containers

Open datasmithadvtech opened this issue 5 years ago • 1 comments

I did a git clone from this repo i then executed , mvn docker:build , which failed for restaurant-service

O] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 37.155 s [INFO] Finished at: 2021-02-20T20:56:18-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jolokia:docker-maven-plugin:0.13.9:build (default-cli) on project restaurant-service: Execution default-cli of goal org.jolokia:docker-maven-plugin:0.13.9:build failed: JSONObject["auth"] not found. -> [Help 1] [ERROR]

datasmithadvtech avatar Feb 21 '21 02:02 datasmithadvtech

I did a git clone from this repo i then executed , mvn docker:build , which failed for restaurant-service

O] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 37.155 s [INFO] Finished at: 2021-02-20T20:56:18-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jolokia:docker-maven-plugin:0.13.9:build (default-cli) on project restaurant-service: Execution default-cli of goal org.jolokia:docker-maven-plugin:0.13.9:build failed: JSONObject["auth"] not found. -> [Help 1] [ERROR]

There are many problems. POM file are misconfigures. Even the book didn't explain clearly.

RetinaInc avatar Apr 18 '22 05:04 RetinaInc