title: URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs) in applicationContext.xml
body: <p>I created an application Context.xml at the <code>WEB-INF/classes</code> directory.
  and I have added the <code>&lt;!DOCTYPE&gt;</code> in the xml. I am getting the below error:</p>
  
  <blockquote>
    <p>URI is not registered (Settings | Languages &amp; Frameworks | Schemas and DTDs)</p>
  </blockquote>
  
  <p>You can see the snapshot below:</p>
  
  <p><a href="https://i.stack.imgur.com/90y61.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/90y61.jpg" alt="enter image description here"></a></p>
  
  <p>The xml is below:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"&gt;  // -&gt; there comes the issue
  &lt;beans xmlns="http://www.springframework.org/schema/beans"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"&gt;
  
  &lt;/beans&gt;
  </code></pre>