|
@@ -5,7 +5,7 @@
|
|
|
<parent>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
- <version>3.1.2</version>
|
|
|
+ <version>2.2.2.RELEASE</version>
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
</parent>
|
|
|
<groupId>com.example</groupId>
|
|
@@ -14,14 +14,13 @@
|
|
|
<name>OnlineJudge</name>
|
|
|
<description>OnlineJudge</description>
|
|
|
<properties>
|
|
|
- <java.version>17</java.version>
|
|
|
+ <java.version>8</java.version>
|
|
|
</properties>
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
</dependency>
|
|
|
-
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
@@ -38,8 +37,33 @@
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-jdbc</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mybatis.spring.boot</groupId>
|
|
|
+ <artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
+ <version>2.1.4</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-j</artifactId>
|
|
|
+ <version>8.0.31</version>
|
|
|
+ <scope>runtime</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>druid-spring-boot-starter</artifactId>
|
|
|
+ <version>1.2.16</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>cn.dev33</groupId>
|
|
|
+ <artifactId>sa-token-spring-boot-starter</artifactId>
|
|
|
+ <version>1.35.0.RC</version>
|
|
|
+ </dependency>
|
|
|
</dependencies>
|
|
|
-
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|