|
@@ -21,10 +21,10 @@
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
|
</dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-security</artifactId>
|
|
|
- </dependency>
|
|
|
+<!-- <dependency>-->
|
|
|
+<!-- <groupId>org.springframework.boot</groupId>-->
|
|
|
+<!-- <artifactId>spring-boot-starter-security</artifactId>-->
|
|
|
+<!-- </dependency>-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
@@ -40,6 +40,7 @@
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
|
<scope>runtime</scope>
|
|
|
</dependency>
|
|
|
+
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
@@ -60,6 +61,21 @@
|
|
|
<artifactId>spring-security-test</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
+
|
|
|
+ <!--引入Spring Boot内嵌的Tomcat对JSP的解析包,不加解析不了jsp页面-->
|
|
|
+ <!--如果只是使用JSP页面,可以只添加该依赖-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.tomcat.embed</groupId>
|
|
|
+ <artifactId>tomcat-embed-jasper</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!--如果使用JSTL必须添加该依赖-->
|
|
|
+ <!--jstl标签依赖的jar包start-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.servlet</groupId>
|
|
|
+ <artifactId>jstl</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|