Skip to content

Commit a0a6f55

Browse files
committed
jdk更新为12
1 parent a7256dc commit a0a6f55

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<java.version>1.8</java.version>
2525
</properties>
2626

27+
2728
<dependencies>
2829
<dependency>
2930
<groupId>org.springframework.boot</groupId>
@@ -34,6 +35,12 @@
3435
<artifactId>mapper</artifactId>
3536
<version>4.0.1</version>
3637
</dependency>
38+
<!-- JDK9以上swagger所需依赖javax.xml.bind-->
39+
<dependency>
40+
<groupId>javax.xml.bind</groupId>
41+
<artifactId>jaxb-api</artifactId>
42+
<version>2.3.0</version>
43+
</dependency>
3744
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
3845
<dependency>
3946
<groupId>mysql</groupId>

src/main/java/com/example/demo/DemoApplication.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.example.demo;
22

3-
import org.slf4j.LoggerFactory;
43
import org.springframework.boot.SpringApplication;
54
import org.springframework.boot.autoconfigure.SpringBootApplication;
65
import org.springframework.context.annotation.ComponentScan;

0 commit comments

Comments
 (0)