Using NetBeans 8.1.
I have a SpringBoot project that uses Thymeleaf as template, everything is working but in the html page when i use the tag
<html lang="en-US" xmlns:th="http://www.thymeleaf.org">
i have the error Attribute with the local name "xmlns:th" is not serializable as XML 1.0, i can use thymeleaf functions like th:each or th:text but they always show the same error and i'm not able to have suggestions when typing, is there a way to fix this ?
Adding xmlns="http://www.w3.org/1999/xhtml"
fixes the errors in netbeans. I've not been able to get suggestions to work.
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With