xxxxxxxxxx
First Page: Not working!
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://www.thymeleaf.org">
Second Page: Working!
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://thymeleaf.org">
I removed the www. and it works for me!
xxxxxxxxxx
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://thymeleaf.org">
xxxxxxxxxx
The html element has an XML namespace declaration for th that is set to http://www.thymeleaf.org (with www.), for example:
<html xmlns:th="http://www.thymeleaf.org">