1.先创建好一个简单的web项目

IDEA中tomcat热部署的配置

2.开启自动编译功能

设置路径:File --> Settings --> Build, Execution, Deployment --> Compiler
IDEA中tomcat热部署的配置

3.部署web项目

IDEA中tomcat热部署的配置
注意:部署的时候,一定要用这个exploded结尾的项目。

4.tomcat热部署的配置

IDEA中tomcat热部署的配置

5.启动测试

注意:一定要在debug模式下启动tomcat。
IDEA中tomcat热部署的配置

相关文章:

  • 2021-10-28
  • 2021-07-22
  • 2021-05-07
  • 2022-01-02
  • 2022-01-03
  • 2021-08-27
  • 2021-05-01
  • 2021-12-29
猜你喜欢
  • 2021-11-26
  • 2021-08-18
  • 2021-12-25
  • 2021-07-15
  • 2021-06-11
  • 2021-10-01
  • 2021-07-17
相关资源
相似解决方案