There was an unexpected error (type=Internal Server Error, status=500).
Exception parsing document: template=
I had this annoying error above today while playing around with thymeleaf.
The thing is IntelliJ Idea creates html files that does not close the meta tags and prints them as below:
<meta charset="UTF-8" >
To get rid of this problem you need to make sure that self-closing tags like <meta> and <img> are also closed.
So, close the meta tag as below and any other tags that have not been closed and you should be ok.
<meta charset="UTF-8" />
Hope this helps.