title: Error deploying war with spring mvc 5.0.7.RELEASE
body: <p>I am trying to create war with below but while deploying in wls12c getting error</p>
  <p><code>applicationContext.xml</code> as below :</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:context=&quot;http://www.springframework.org/schema/context&quot; xmlns:mvc=&quot;http://www.springframework.org/schema/mvc&quot; xsi:schemaLocation=&quot;http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd          http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd&quot;&gt;
  
  &lt;context:component-scan base-package=&quot;com.xyz.listeners.config, com.xyz.listeners.controller&quot;/&gt;
      &lt;mvc:annotation-driven/&gt;
      &lt;context:annotation-config/&gt;
  
      &lt;bean id=&quot;PropertyConfigurer&quot; class=&quot;org.springframework.beans.factory.config.PropertyPlaceholderConfigurer&quot;&gt;
          &lt;property name=&quot;locations&quot;&gt;
              &lt;list&gt;
                   &lt;value&gt;WEB-INF/classes/myapp.properties&lt;/value&gt;
              &lt;/list&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
      &lt;import resource=&quot;spring-beans/server-spring-beans.xml&quot;/&gt;
  &lt;/beans&gt;
  </code></pre>
  <p>Spring Version : 5.0.7.RELEASE</p>
  <p>Getting below error while deploying the web app:</p>
  <pre><code>ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;&gt; &lt;1610540534203&gt; &lt;BEA-101216&gt; &lt;Servlet: &quot;spring-dispatcher&quot; failed to preload on startup in Web application: &quot;mywar&quot;.
  org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 24 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid  nested exception is org.xml.sax.SAXParseException  systemId: http://www.springframework.org/schema/mvc/spring-mvc-4.1.xsd  lineNumber: 24  columnNumber: 20  cos-all-limited.1.2: An ''all'' model group must appear in a particle with '{'min occurs'}'='{'max occurs'}'=1, and that particle must be part of a pair which constitutes the '{'content type'}' of a complex type definition.
  </code></pre>