美文网首页spring-boot组件程序员
intellij idea2016.2 下实现spring bo

intellij idea2016.2 下实现spring bo

作者: Ecloud | 来源:发表于2016-11-02 15:53 被阅读130次

      使用idea开发spring boot项目时,每次修改代码后都需要手动编译项目,非常麻烦。在网上查找了很多资料,说法不一,不是很完整,在此整理以便查阅。


    操作步骤

1. pom.xml文件中引入spring-boot-devtools模块依赖

2.  pom.xml文件中修改maven插件配置

3. CTRL + SHIFT + A 输入 make project automatically

然后勾选 Make project automatically项

4. CTRL + SHIFT + A输入 Registry,选中。弹出窗口中查找并勾选       compiler.automake.allow.when.app.running 项

5. 重启项目

相关文章

网友评论

本文标题:intellij idea2016.2 下实现spring bo

本文链接:https://www.haomeiwen.com/subject/wpivuttx.html