Configure various hot updates and precautions during NutzBoot development

Static file configuration

#下面这句必须是绝对路径,这样才能保证开发模式下修改静态文件后进行热更新
jetty.staticPathLocal=D:\\Work\\src\\main\\resources\\static\\

beetl template file configuration

#下面这句必须是绝对路径,这样才能保证开发模式下修改模版内容后模版进行热更新
beetl.RESOURCE.rootLocal=D:\\Work\\src\\main\\resources\\views\\

Hot update after java class is modified

  1. After modifying the content of the method body, you need to perform any of the following operations in the currently modified java class (in fact, compiling the current java class)

    • ctrl+f9
    • ctrl+shift+f9
    • build-Recomplie
  2. Precautions

    • add/remove method, restart
    • Modify method signature/annotation, restart
    • Add/remove/rename classes, restart
    • Modify the content in the method without restarting
{{o.name}}
{{m.name}}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324075600&siteId=291194637