This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
README.md
访问地址是:http://localhost:8080/demowar-0.0.1-SNAPSHOT/tomcat/test/index
springboot2.3.2
jdk1.8
打包war包部署到tomcat注意事项
- 部署到外部tomcat时候
application.properties(或者application.yml)中配置的
server.port=
server.servlet.context-path=
将失效,请使用tomcat的端口,tomcat,webapps下项目名进行访问。为了防止应用上下文所导致的项目访问资源加载不到的问题,建议pom.xml文件中标签下添加标签:
Comments ( 0 )