首先打开tomcat的\apache-tomcat-7.0.73\confserver.xml文件
  在 </      <Host name="localhost"   appBase="webapps"
            unpackWARs="true" autoDeploy="true">

省略部分代码....

Host>

之间添加一段代码:<Context path="/" docBase="项目名称" debug="0" reloadable="true"/>
重启项目.....

 

相关文章:

  • 2021-09-27
  • 2021-04-22
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-12-22
  • 2022-12-23
  • 2021-06-21
猜你喜欢
  • 2022-12-23
  • 2021-04-19
  • 2022-12-23
  • 2022-01-14
  • 2021-12-24
  • 2022-12-23
  • 2021-09-28
相关资源
相似解决方案