Skip to content

Commit a847d47

Browse files
committed
🍺 添加依赖
1 parent c2bcc3c commit a847d47

File tree

4 files changed

+47
-85
lines changed

4 files changed

+47
-85
lines changed

pom.xml

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,20 @@
2828
<artifactId>spring-boot-starter-jdbc</artifactId>
2929
</dependency>
3030

31-
<!-- thymeleaf模版 -->
31+
<!-- thymeleaf -->
3232
<dependency>
3333
<groupId>org.springframework.boot</groupId>
3434
<artifactId>spring-boot-starter-thymeleaf</artifactId>
3535
</dependency>
3636

37-
<!-- velocity模版 -->
37+
<!-- Velocity -->
3838
<dependency>
3939
<groupId>org.apache.velocity</groupId>
4040
<artifactId>velocity</artifactId>
4141
<version>1.7</version>
4242
</dependency>
4343

44-
<!-- mybatis -->
44+
<!-- MyBatis -->
4545
<dependency>
4646
<groupId>org.mybatis.spring.boot</groupId>
4747
<artifactId>mybatis-spring-boot-starter</artifactId>
@@ -54,7 +54,7 @@
5454
<artifactId>unboundid-ldapsdk</artifactId>
5555
</dependency>
5656

57-
<!-- mysql驱动 -->
57+
<!-- mysql -->
5858
<dependency>
5959
<groupId>mysql</groupId>
6060
<artifactId>mysql-connector-java</artifactId>
@@ -81,7 +81,7 @@
8181
<version>1.2.41</version>
8282
</dependency>
8383

84-
<!-- xstream多个rce -->
84+
<!-- xstream -->
8585
<dependency>
8686
<groupId>com.thoughtworks.xstream</groupId>
8787
<artifactId>xstream</artifactId>
@@ -95,7 +95,7 @@
9595
<scope>runtime</scope>
9696
</dependency>
9797

98-
<!-- actuator监控 -->
98+
<!-- actuator -->
9999
<dependency>
100100
<groupId>org.springframework.boot</groupId>
101101
<artifactId>spring-boot-starter-actuator</artifactId>
@@ -140,6 +140,7 @@
140140
<artifactId>springfox-swagger-ui</artifactId>
141141
<version>2.10.5</version>
142142
</dependency>
143+
143144
<dependency>
144145
<groupId>io.springfox</groupId>
145146
<artifactId>springfox-swagger2</artifactId>
@@ -171,7 +172,6 @@
171172
<version>1.2.4</version>
172173
</dependency>
173174

174-
175175
<!-- Jackson 引入低版本会报错 -->
176176
<dependency>
177177
<groupId>com.fasterxml.jackson.core</groupId>
@@ -197,7 +197,7 @@
197197
<version>1.9</version>
198198
</dependency>
199199

200-
<!-- snakeyaml rce-->
200+
<!-- snakeyaml -->
201201
<dependency>
202202
<groupId>org.yaml</groupId>
203203
<artifactId>snakeyaml</artifactId>
@@ -217,6 +217,18 @@
217217
<version>1.2.3</version>
218218
</dependency>
219219

220+
<dependency>
221+
<groupId>org.apache.httpcomponents</groupId>
222+
<artifactId>httpclient</artifactId>
223+
<version>4.5.14</version>
224+
</dependency>
225+
226+
<dependency>
227+
<groupId>xalan</groupId>
228+
<artifactId>xalan</artifactId>
229+
<version>2.7.3</version>
230+
</dependency>
231+
220232
<!-- log4Shell -->
221233
<dependency>
222234
<groupId>org.apache.logging.log4j</groupId>
@@ -248,7 +260,6 @@
248260
<version>1.6</version>
249261
</dependency>
250262

251-
252263
<!-- 图形验证码 -->
253264
<dependency>
254265
<groupId>com.github.whvcse</groupId>
@@ -294,11 +305,11 @@
294305
<version>2.3.1</version>
295306
</dependency>
296307

297-
<!-- Freemarker 依赖 -->
308+
<!-- Freemarker -->
298309
<dependency>
299310
<groupId>org.springframework.boot</groupId>
300311
<artifactId>spring-boot-starter-freemarker</artifactId>
301-
<version>1.5.8.RELEASE</version>
312+
<version>3.4.3</version>
302313
</dependency>
303314

304315
</dependencies>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
spring.profiles.active=dev
2+
3+
# Actuator??????
4+
management.endpoints.web.exposure.include=*
5+
#management.endpoints.enabled-by-default=false
6+
# ?????
7+
info.author=nul1
8+
info.create=2021-07-10
9+
10+
# ??mapper.xml??
11+
mybatis.mapper-locations=classpath:mapper/*.xml
12+
13+
# ????
14+
server.tomcat.accesslog.enabled=true
15+
server.tomcat.basedir=./
16+
management.health.ldap.enabled=false
17+
18+
# ??????????
19+
local.admin.name = admin
20+
local.admin.password = admin
21+
22+
# Freemarker ????
23+
spring.freemarker.template-loader-path=classpath:/templates/
24+
spring.freemarker.suffix=.ftl
25+
spring.freemarker.charset=UTF-8

src/main/resources/templates/commons/400.html

Lines changed: 0 additions & 46 deletions
This file was deleted.

velocity.log

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)