1、
2、
配置上述两步成功之后重启Tomcat服务器,修改其中的jsp页面,打印如下信息,则说明设置热部署成功;
[2019-07-03 08:44:41,762] Artifact web:war exploded: Deploy took 346 milliseconds
03-Jul-2019 20:44:51.142 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\APK\Tomcat\apache-tomcat-8.5.20\webapps\manager]
03-Jul-2019 20:44:51.186 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\APK\Tomcat\apache-tomcat-8.5.20\webapps\manager] has finished in [43] ms