PENEKhun / springdog

(개발중) 캡스톤 디자인 - SW의 안전성 지원을 위한 서비스형 보안 라이브러리 개발
Apache License 2.0
0 stars 0 forks source link

Resolve Thymeleaf WARN messages #10

Closed PENEKhun closed 2 months ago

PENEKhun commented 2 months ago

Resolve Thymeleaf WARN messages like the one below

2024-04-14T18:33:51.387+09:00  WARN 69064 --- [nio-8080-exec-1] actStandardFragmentInsertionTagProcessor : [THYMELEAF][http-nio-8080-exec-1][/templates/layout/default_layout.html] Deprecated unwrapped fragment expression "/templates/fragments/sidebar.html :: sidebarFragment" found in template /templates/layout/default_layout.html, line 38, col 8. Please use the complete syntax of fragment expressions instead ("~{/templates/fragments/sidebar.html :: sidebarFragment}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.
2024-04-14T18:33:51.390+09:00  WARN 69064 --- [nio-8080-exec-1] actStandardFragmentInsertionTagProcessor : [THYMELEAF][http-nio-8080-exec-1][/templates/layout/default_layout.html] Deprecated unwrapped fragment expression "/templates/fragments/footer.html :: footerFragment" found in template /templates/layout/default_layout.html, line 51, col 11. Please use the complete syntax of fragment expressions instead ("~{/templates/fragments/footer.html :: footerFragment}"). The old, unwrapped syntax for fragment expressions will be removed in future versions of Thymeleaf.

and

2024-04-14T23:57:23.337+09:00  WARN 39364 --- [nio-8080-exec-1] n.n.u.t.l.fragments.FragmentProcessor    : You don't need to put the layout:fragment/data-layout-fragment attribute into the <head> section - the decoration process will automatically copy the <head> section of your content templates into your layout page.