nnkwrik / imooc-docker-kubernetes-k8s Goto Github PK
View Code? Open in Web Editor NEW学习慕课网课程<<Docker+Kubernetes(k8s)微服务容器化实践>>时的代码.https://coding.imooc.com/class/198.html
学习慕课网课程<<Docker+Kubernetes(k8s)微服务容器化实践>>时的代码.https://coding.imooc.com/class/198.html
本人并不是专注于编程,只是想通过里面的镜像学习容器编排的知识,所以对开发的工具以及语言的算法什么的一窍不通,在尝试多次上网查阅资料后无果,还是未能构建出dokcer镜像,在IntelliJ IDEA里tomcat什么的都配置过了,还是运行不起来项目,所以请你可以的话分享下已经有"target"的完整项目,谢谢
1.我把项目放到 IntelliJ IDEA 里运行显示很多类没有找到,例如下面的情况
Exception in thread "main" java.lang.ClassNotFoundException: cucumber.api.cli.Main
2.我把项目放到有maven环境的虚拟机里mvn clean package 又提示没有依赖,总之就是dockerfile没有创建成功
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.448 s
[INFO] Finished at: 2019-06-15T22:12:51+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project user-thrift-service: Could not resolve dependencies for project com.imooc:user-thrift-service:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: com.imooc:user-thrift-service-api:jar:1.0-SNAPSHOT, com.imooc:message-thrift-service-api:jar:1.0-SNAPSHOT: Could not find artifact com.imooc:user-thrift-service-api:jar:1.0-SNAPSHOT -> [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/DependencyResolutionException
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.