(1) 引用公共模板
正确:<div th:replace="~{com/com::sidebar(active='index.html')}"></div>
错误:<div th:replace="~{/com/com::sidebar(active='index.html')}"></div>
(1) 引用公共模板
正确:<div th:replace="~{com/com::sidebar(active='index.html')}"></div>
错误:<div th:replace="~{/com/com::sidebar(active='index.html')}"></div>