This commit is contained in:
xiangwbs
2018-03-16 20:29:06 +08:00
parent 6d2205f658
commit 948e1dbfc7
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -87,7 +87,7 @@
<artifactId>httpclient</artifactId>
<version>4.5.1</version>
</dependency>
<!-- servlet 一些类需要HttpServletResponse和HttpServletRequest的支持 -->
<!-- servlet 有些类需要HttpServletResponse和HttpServletRequest的支持 -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
+1
View File
@@ -77,6 +77,7 @@
<build>
<finalName>boot-web</finalName>
<plugins>
<!-- 将SpringBoot应用打包为可执行的jar或war 并指定运行类 -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
+1
View File
@@ -45,6 +45,7 @@
<swagger2.version>2.4.0</swagger2.version>
</properties>
<dependencies>
<!-- 子模块需要用到web依赖下的相关注解 -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>