In addition, the login-config element must have a form-login-config element with two j.cp.org/xml/ns/javaee" xmlins: xsi-"http://www.w3.org/2001/XMLS .