springboot集成themeleaf报Namespace 'th' is not bound时间:2023-03-09 05:40:34 <!DOCTYPE html><!--解决th报错 --><html lang="en" xmlns:th="http://www.w3.org/1999/xhtml"><head lang="en"> <meta charset="UTF-8" /> <title></title></head><body><h1 th:text="${name}">Hello World</h1></body></html>