File tree Expand file tree Collapse file tree 6 files changed +103
-0
lines changed
java/com/didispace/chapter11
test/java/com/didispace/chapter11 Expand file tree Collapse file tree 6 files changed +103
-0
lines changed Original file line number Diff line number Diff line change 1+ HELP.md
2+ /target /
3+ ! .mvn /wrapper /maven-wrapper.jar
4+
5+ # ## STS ###
6+ .apt_generated
7+ .classpath
8+ .factorypath
9+ .project
10+ .settings
11+ .springBeans
12+ .sts4-cache
13+
14+ # ## IntelliJ IDEA ###
15+ .idea
16+ * .iws
17+ * .iml
18+ * .ipr
19+
20+ # ## NetBeans ###
21+ /nbproject /private /
22+ /nbbuild /
23+ /dist /
24+ /nbdist /
25+ /.nb-gradle /
26+ /build /
27+
28+ # ## VS Code ###
29+ .vscode /
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4+ <modelVersion >4.0.0</modelVersion >
5+ <parent >
6+ <groupId >org.springframework.boot</groupId >
7+ <artifactId >spring-boot-starter-parent</artifactId >
8+ <version >2.1.3.RELEASE</version >
9+ <relativePath /> <!-- lookup parent from repository -->
10+ </parent >
11+ <groupId >com.didispace</groupId >
12+ <artifactId >chapter1-1</artifactId >
13+ <version >0.0.1-SNAPSHOT</version >
14+ <name >chapter1-1</name >
15+ <description >Demo project for Spring Boot</description >
16+
17+ <properties >
18+ <java .version>1.8</java .version>
19+ </properties >
20+
21+ <dependencies >
22+ <dependency >
23+ <groupId >org.springframework.boot</groupId >
24+ <artifactId >spring-boot-starter-web</artifactId >
25+ </dependency >
26+
27+ <dependency >
28+ <groupId >org.springframework.boot</groupId >
29+ <artifactId >spring-boot-starter-test</artifactId >
30+ <scope >test</scope >
31+ </dependency >
32+ </dependencies >
33+
34+ <build >
35+ <plugins >
36+ <plugin >
37+ <groupId >org.springframework.boot</groupId >
38+ <artifactId >spring-boot-maven-plugin</artifactId >
39+ </plugin >
40+ </plugins >
41+ </build >
42+
43+ </project >
Original file line number Diff line number Diff line change 1+ package com .didispace .chapter11 ;
2+
3+ import org .springframework .boot .SpringApplication ;
4+ import org .springframework .boot .autoconfigure .SpringBootApplication ;
5+
6+ @ SpringBootApplication
7+ public class Chapter11Application {
8+
9+ public static void main (String [] args ) {
10+ SpringApplication .run (Chapter11Application .class , args );
11+ }
12+
13+ }
Original file line number Diff line number Diff line change 1+
Original file line number Diff line number Diff line change 1+ package com .didispace .chapter11 ;
2+
3+ import org .junit .Test ;
4+ import org .junit .runner .RunWith ;
5+ import org .springframework .boot .test .context .SpringBootTest ;
6+ import org .springframework .test .context .junit4 .SpringRunner ;
7+
8+ @ RunWith (SpringRunner .class )
9+ @ SpringBootTest
10+ public class Chapter11ApplicationTests {
11+
12+ @ Test
13+ public void contextLoads () {
14+ }
15+
16+ }
Original file line number Diff line number Diff line change 99 <description >全网Star最多的Spring Boot基础教程</description >
1010
1111 <modules >
12+ <module >chapter1-1</module >
1213
1314 </modules >
1415
You can’t perform that action at this time.
0 commit comments