Updating HTML and Resources without restarting application server (Tomcat 8, Thymeleaf 3, Sparkjava)
已回答
I used eclipse for a longe time and it allowed me to change jsp and some static files on web projects and see this changes without restarting the server.
Can this be done with Intellij? I'm really trying but without success.
I'm testing with a Maven web project, spark java framework and thymeleaf template engine, running on Tomcat 8.
Obs: The files are updated on the target dir, but don't know how to update the exploded war artifact.
请先登录再写评论。
Please see https://www.jetbrains.com/idea/help/updating-applications-on-application-servers.html.
Thanks, but the configurations on this link did not help to solve my problem.
Please submit a ticket to support with the sample project and the exact steps to reproduce the problem.
Sorry, I found the cause of the problem: the Thymeleaf's implementation of the TemplateResolver i'm using have a "cacheable" attribute with "true" as default attribute.
Thanks Ulisses Silva!
I had similar issue, and yours exactly solved my issue!!
Thanks Ulisses Silva ! You save me ahaha