<div dir="ltr"><p style="margin-bottom:16px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif,&#39;Apple Color Emoji&#39;,&#39;Segoe UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;font-size:14px;line-height:22.4px;margin-top:0px!important">I added <br style=""><code style="font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:11.9px;padding:0.2em 0px;margin:0px;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:rgba(0,0,0,0.0392157)">&lt;oauth:password /&gt;</code> to<code style="font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:11.9px;padding:0.2em 0px;margin:0px;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:rgba(0,0,0,0.0392157)">&lt;oauth:authorization-server /&gt;</code> but getting the following exception.</p><p style="margin-top:0px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif,&#39;Apple Color Emoji&#39;,&#39;Segoe UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;font-size:14px;line-height:22.4px;margin-bottom:0px!important">ERROR: org.springframework.web.context.ContextLoader - Context initialization failed<br style="">org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [authz-config.xml]<br style="">Offending resource: ServletContext resource [/WEB-INF/application-context.xml]; nested exception is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 50 in XML document from ServletContext resource [/WEB-INF/authz-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 50; columnNumber: 21; cvc-complex-type.2.4.a: Invalid content was found starting with element &#39;oauth:password&#39;. One of &#39;{&quot;<a href="http://www.springframework.org/schema/security/oauth2%22:custom-grant" style="color:rgb(64,120,192);text-decoration:none;background-color:transparent">http://www.springframework.org/schema/security/oauth2&quot;:custom-grant</a>}&#39; is expected.</p></div>