代码如下:
To add a dependencies we need to our pom.xml. Insert the following lines just below the parent and dependencies section
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.9.RELEASE</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>
版权声明:本文为qq_42166923原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。