tomcat conf目录下的server.xml appBase 配置上下文Context

设置:autoDeploy="false" deployOnStartup="false",

原来:
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">

修改后:
<Host name="localhost" appBase="" unpackWARs="true" autoDeploy="false" deployOnStartup="false">
<Context path="" docBase="webapps/rboat" reloadable="true"/>

相关文章:

  • 2022-12-23
  • 2021-05-09
  • 2021-08-06
  • 2021-06-09
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2021-12-13
猜你喜欢
  • 2021-04-19
  • 2022-12-23
  • 2022-12-23
  • 2021-08-05
  • 2021-06-22
相关资源
相似解决方案