XML Parsing Error: no element found Location: http://localhost:8081/web-app/pages/login.xhtml Line Number 1, Column 1: ^
<p>My <code>login.xhtml</code> starts with:</p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
</code></pre>

<p>I am using Java 8, JSF, Primefaces, Maven, Tomcat8.
I think that something is wrong with my configuration e.g. servlets and <code>web.xml</code>.</p>