title: Java: Spring Framework: Declaring Nested Maps
body: <p>I get an error at 4th line saying:
  cvc-complex-type.2.4.d: Invalid content was found starting with element 'map'. No child element is expected at this point.  </p>
  
  <pre><code>  &lt;util:map id="entirePayTypesMap"&gt;
              &lt;entry key="34"&gt;
                  &lt;value&gt;
                      &lt;map&gt;
                           &lt;entry key="default"&gt;
                                &lt;value&gt;
                                   &lt;map  key-type="java.lang.Boolean"&gt;
                                       &lt;entry key="true" value="3T" /&gt;
                                       &lt;entry key="false" value="3U" /&gt;
                                   &lt;/map&gt; 
                                &lt;/value&gt;
                           &lt;/entry&gt;
                       &lt;/map&gt; 
                  &lt;/value&gt;
              &lt;/entry&gt;
      &lt;/util:map&gt; 
  </code></pre>
  
  <p>Any suggestions?</p>