1、将项目打包成war,打包过程这里不做赘述

2、在linux或者windows下安装xmapp

3、打开Tomcat下conf/server.xml,在host下添加一行        <Context   path="/"   docBase="test"  reloadable="true" privileged="true" debug="0" />

4、然后把名字为test.war的包放到webapps下,如果是其他名字,把docBase改成对应的名字就行

5、重启Tomcat,webapps下会多出来一个test文件夹

6、localhost:port

相关文章:

  • 2021-11-22
  • 2021-12-28
  • 2021-11-25
  • 2021-10-05
  • 2021-10-21
  • 2021-11-23
  • 2021-11-23
  • 2021-11-23
猜你喜欢
  • 2021-11-23
  • 2021-12-14
  • 2021-04-27
  • 2021-10-01
  • 2021-11-20
  • 2021-07-31
  • 2021-11-23
相关资源
相似解决方案