RuntimeWorkerException: Invalid nested tag head found, expected closing tag meta
The error message is pretty clear, you have a <meta>
tag in the header that isn't closed which is valid in HTML
but not XHTML
which is what you are parsing it as. You need to close those, <meta ... />