File tree 2 files changed +13
-6
lines changed
2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,8 @@ spring.datasource.password=woshishujukumima
71
71
72
72
### IDEA
73
73
74
- Click ` run ` button.
74
+ - ` git clone https://github.com/JoyChou93/java-sec-code `
75
+ - Open in IDEA and click ` run ` button.
75
76
76
77
Example:
77
78
87
88
88
89
### Tomcat
89
90
90
-
91
+ - ` git clone https://github.com/JoyChou93/java-sec-code ` & ` cd java-sec-code `
91
92
- Build war package by ` mvn clean package ` .
92
93
- Copy war package to tomcat webapps directory.
93
94
- Start tomcat application.
@@ -119,6 +120,8 @@ Change `war` to `jar` in `pom.xml`.
119
120
Build package and run.
120
121
121
122
```
123
+ git clone https://github.com/JoyChou93/java-sec-code
124
+ cd java-sec-code
122
125
mvn clean package -DskipTests
123
126
java -jar target/java-sec-code-1.0.0.jar
124
127
```
Original file line number Diff line number Diff line change @@ -70,7 +70,8 @@ spring.datasource.password=woshishujukumima
70
70
71
71
### IDEA
72
72
73
- 直接点击run按钮即可运行。
73
+ - ` git clone https://github.com/JoyChou93/java-sec-code `
74
+ - 在IDEA中打开,直接点击run按钮即可运行。
74
75
75
76
例子:
76
77
@@ -86,9 +87,10 @@ Viarus
86
87
87
88
### Tomcat
88
89
89
- 1 . 生成war包 ` mvn clean package ` 。
90
- 2 . 将target目录的war包,cp到Tomcat的webapps目录。
91
- 3 . 重启Tomcat应用。
90
+ 1 . ` git clone https://github.com/JoyChou93/java-sec-code & cd java-sec-code `
91
+ 2 . 生成war包 ` mvn clean package `
92
+ 3 . 将target目录的war包,cp到Tomcat的webapps目录
93
+ 4 . 重启Tomcat应用
92
94
93
95
94
96
例子:
@@ -119,6 +121,8 @@ Viarus
119
121
再打包运行即可。
120
122
121
123
```
124
+ git clone https://github.com/JoyChou93/java-sec-code
125
+ cd java-sec-code
122
126
mvn clean package -DskipTests
123
127
java -jar 打包后的jar包路径
124
128
```
You can’t perform that action at this time.
0 commit comments