Loading static resources with Spring Boot and Thymeleaf

前端 未结 2 1590
隐瞒了意图╮
隐瞒了意图╮ 2020-12-15 13:54

I want to get my static resources loaded. First I thought it already works, but that was just a trick of browser cache. I only get the html-files loaded as expected, but I d

2条回答
  •  庸人自扰
    2020-12-15 14:13

    Okay, that helped me:

    In WebMvcConfig I changed WebMvcConfigurationSupport to WebMvcAutoConfigurationAdapter

    enter image description here

    If you want to know about more about that module, better overview you find Stackoverflow-Link

提交回复
热议问题