IDEA中Spring boot配置热部署无效问题解决方式

先说明下idea版本:app

百度过Spring boot热部署应该都知道怎么配置了,但结果仍是无效的话再往下看,不想知道缘由的直接拉到最下看红字ide

Spring boot热部署的条件:ui

  1. setting –> compiler 将 Build project automatically 勾选上
  2. alt + shift + a 搜索 registry 选第一个,弹出框后下拉找到 compiler.automake.allow.when.app.running 勾选上便可。

 二者必须知足才能生效,但run以后却没法热部署,仔细看看Build project automaticallyidea

这下明白了吧,须要debug启动才能热部署,坑!!spa

相关文章
相关标签/搜索