1 Star 0 Fork 0

Leo / tomcat-demo

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

项目是jar包,打包成jar包部署上线,使用内部的tomcat,并没有使用外部tomcat部署 部署上线步骤:

  1. 打包成jar包(使用idea的Lifecycle的clean和install命令)
  2. 运行jar两种方法 2.1 控制台使用java命令行 java -jar xxx.jar,该方法缺点是一旦控制台关闭,则服务关闭,但好处在于能看到控制台所有信息 2.2 控制台使用java命令行 nohup java -jar xxx.jar & 该方法缺点在于不能从控制台看信息,但好处在于控制台关闭仍能运行(一般使用这个)

打包成jar包和war包是有区别的,请注意 https://blog.csdn.net/qq_32331073/article/details/81544061

Comments ( 0 )

Sign in for post a comment

About

项目部署上线demo spread retract
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
1
https://gitee.com/banbeisudashui/tomcat-demo.git
git@gitee.com:banbeisudashui/tomcat-demo.git
banbeisudashui
tomcat-demo
tomcat-demo
master

Search