itmuch / spring-cloud-docker-microservice-book-code-docker Goto Github PK
View Code? Open in Web Editor NEW《Spring Cloud与Docker微服务架构实战》Docker章节配套源码。讨论QQ群:731548893
Home Page: http://www.itmuch.com
License: Apache License 2.0
《Spring Cloud与Docker微服务架构实战》Docker章节配套源码。讨论QQ群:731548893
Home Page: http://www.itmuch.com
License: Apache License 2.0
@eacdy 周立老师,这边有个问题。按照《Spring Cloud与Docker微服务架构实战(第2版)》一书的<14.7.2 编排高可用的Eureka Server章节>,单机部署成功启动,两个eureka服务可以互相发现注册。
但是,我现在有个场景,就是在两台独立主机上,在docker中分别部署启动eureka_peer1和eureka_peer2,可以启动起来,但是不能互相发现注册。
望老师解答。
when run
mvn clean package docker:build
in root directory,but failed:
the description below:
[INFO] Built itmuch/microservice-provider-user:0.0.1-SNAPSHOT
[INFO]
[INFO] ----------------------< com.itmuch.cloud:parent >-----------------------
[INFO] Building parent 0.0.1-SNAPSHOT [7/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ parent ---
[INFO]
[INFO] --- docker-maven-plugin:0.4.13:build (default-cli) @ parent ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for parent 0.0.1-SNAPSHOT:
[INFO]
[INFO] microservice-consumer-movie-ribbon-hystrix ......... SUCCESS [ 11.228 s]
[INFO] microservice-discovery-eureka ...................... SUCCESS [ 4.806 s]
[INFO] microservice-gateway-zuul .......................... SUCCESS [ 4.748 s]
[INFO] microservice-hystrix-dashboard ..................... SUCCESS [ 3.715 s]
[INFO] microservice-hystrix-turbine ....................... SUCCESS [ 4.502 s]
[INFO] microservice-provider-user ......................... SUCCESS [ 5.647 s]
[INFO] parent ............................................. FAILURE [ 0.133 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.220 s
[INFO] Finished at: 2019-04-16T09:43:12+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.4.13:build (default-cli) on project parent: Exception caught: basedir C:\study\java\spring cloud 2.x\周立\spring-cloud-docker-microservice-book-code-docker-Edgware\docker-1-simple\target does not exist -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :parent
你好,springcloud的qq群满了,还是有非常多的像我这样没有加的springcloud爱好者,群主能再新建一个qq群吗?我相信以群主的号召力这很容易,也会有很多人加入
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.