Created a simple spring-boot project, and simply wrote a page. After starting the project access, the front-end page displays:
Whitelabel Error Page
For this thing, go to the console to find the error message and see:
2018-04-20 11:13:08.029 ERROR 10168 --- [nio-8080-exec-1] o.thymeleaf.templateparser.ErrorHandler : [THYMELEAF][http-nio-8080-exec-1] Fatal error during parsing
org.xml.sax.SAXParseException:。。。。。。。。。。。。。
Finally found the reason, because the page's
<meta charset="UTF-8">
There is no "/" after
Change it to:
<meta charset="UTF-8"/>After the problem is solved, record it here