Reloading resources loaded by getResourceAsStream

后端 未结 3 1688
無奈伤痛
無奈伤痛 2021-02-13 23:44

Following best practices, I\'m using Thread.currentThread().getContextClassLoader().getResourceAsStream to load resources in a web application (like text files or x

3条回答
  •  醉话见心
    2021-02-14 00:19

    i finally solved this problem by change the jar file name, every time i change the resource content, i change a new name with current timestamp

提交回复
热议问题