Update run config,jsp

2.1.1
shengzhaoli.shengz 3 years ago
parent 7102ba9dba
commit c282ccc5b5

@ -6,7 +6,7 @@
<groupId>com.monkeyk</groupId>
<artifactId>spring-oauth-server</artifactId>
<version>2.1.1</version>
<packaging>war</packaging>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
<description>Spring OAuth Server (Spring Boot)</description>
@ -117,6 +117,12 @@
<version>3.0.1</version>
</dependency>
<!-- tomcat jsp v2.1.1 -->
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>

@ -21,8 +21,8 @@ spring.mvc.ignore-default-model-on-redirect=false
#spring.mvc.locale=zh_CN
spring.mvc.view.prefix=/WEB-INF/jsp/
spring.mvc.view.suffix=.jsp
#
server.servlet.context-path=${spring.application.name}
# v2.1.1 context-path option
# server.servlet.context-path=/${spring.application.name}
#
server.port=8080
#

Loading…
Cancel
Save