美文网首页
spring boot 的devtools的热更新失效

spring boot 的devtools的热更新失效

作者: Shinegalaxy | 来源:发表于2020-08-07 00:59 被阅读0次

    spring boot 的devtools的热更新失效,我试了网上的所有方法都没有用。后来看了官方文档。发现需要禁用模版的cache

      thymeleaf:
        encoding: utf-8
        # 禁用缓存
        cache: false
    

    就解决了这个问题,困扰了我很久

    相关文章

      网友评论

          本文标题:spring boot 的devtools的热更新失效

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