File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/main/java/com/example/demo Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 24
24
<java .version>1.8</java .version>
25
25
</properties >
26
26
27
+
27
28
<dependencies >
28
29
<dependency >
29
30
<groupId >org.springframework.boot</groupId >
34
35
<artifactId >mapper</artifactId >
35
36
<version >4.0.1</version >
36
37
</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 >
37
44
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
38
45
<dependency >
39
46
<groupId >mysql</groupId >
Original file line number Diff line number Diff line change 1
1
package com .example .demo ;
2
2
3
- import org .slf4j .LoggerFactory ;
4
3
import org .springframework .boot .SpringApplication ;
5
4
import org .springframework .boot .autoconfigure .SpringBootApplication ;
6
5
import org .springframework .context .annotation .ComponentScan ;
You can’t perform that action at this time.
0 commit comments