文章目录
git-url:母项目e2e-java-experience-in-app-service-linux
git-url:子项目mysql
简介:
A Spring Framework application based on JSP, Spring MVC, Spring Data JPA, Hibernate and JDBC.
readme.md文件:
git clone https://github.com/spring-petclinic/spring-framework-petclinic.git
cd spring-framework-petclinic
./mvnw jetty:run-war
# For Windows : ./mvnw.cmd jetty:run-war
无法理解
./mvnw.cmd jetty:run-war
是maven?命令?
add(2020-1-8 12:13:43):
C:\Users\71027>mvn -v
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-25T02:41:47+08:00)
Maven home: C:\Users\71027\Downloads\apache-maven-3.6.0-bin\apache-maven-3.6.0\bin\..
Java version: 11.0.2, vendor: Oracle Corporation, runtime: D:\Program Files\Java\jdk-11.0.2
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
下一篇?Maven(2020-1-8 12:16:13)
直接docker
docker run -p 8080:8080 springcommunity/spring-framework-petclinic
PS E:\GitProjects\Java\Web2\e2e-java-experience-in-app-service-linux\initial-mysql\spring-framework-petclinic> docker run -p 8080:8080 springcommunity/spring-framework-petclinic
Unable to find image 'springcommunity/spring-framework-petclinic:latest' locally
latest: Pulling from springcommunity/spring-framework-petclinic
e8d8785a314f: Pull complete 5f5edd681dcb: Downloading [====================================> ] 5.36MB/7.326MB 3e010093287c: Waiting 1f593e7f826c: Waiting 7e7e5a9c743d: Waiting 7c6e95165717: Waiting 8141f4988dc8: Waiting 92eeb32349af: Waiting
等待.
(2020-1-8 11:46:13)
两个都搁浅.
(2020-1-8 11:49:03)
url:镜像修改csdn
C:\Users\71027>docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
为空.
url:Docker官网文档学习
(2020-1-8 12:00:05)over