title: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'tx:annotation-driven'
body: <p>If i do not paste  <code>xmlns:tx="http://www.springframework.org/schema/tx"</code>  then there are no problems. However if i do insert  the text i get an  cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'tx:annotation-driven' error. </p>
  
  <pre><code>&lt;beans xmlns:tx="http://www.springframework.org/schema/tx" xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:context="http://www.springframework.org/schema/context" xmlns:util="http://www.springframework.org/schema/util"
      xsi:schemaLocation="
  http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
  http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
  http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd"&gt;
  
      &lt;context:annotation-config /&gt;
      &lt;tx:annotation-driven /&gt; 
  &lt;context:component-scan base-package="ne.projl.server" /&gt;
  
      &lt;bean name="security.securityInfo" class="org.geomajas.security.SecurityInfo"&gt;
          &lt;property name="loopAllServices" value="false" /&gt;
          &lt;property name="securityServices"&gt;
              &lt;list&gt;
                  &lt;bean class="org.geomajas.security.allowall.AllowAllSecurityService" /&gt;
              &lt;/list&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
  
      &lt;bean name="puregwt-app" class="org.geomajas.configuration.client.ClientApplicationInfo"&gt;
          &lt;property name="maps"&gt;
              &lt;list&gt;
                  &lt;ref bean="mapOsm" /&gt;
  &lt;!--                &lt;ref bean="mapWms" /&gt; --&gt;
  &lt;!--                &lt;ref bean="mapLegend" /&gt; --&gt;
  &lt;!--                &lt;ref bean="mapLayerVisibility" /&gt; --&gt;
  &lt;!--                &lt;ref bean="mapCountries" /&gt; --&gt;
  &lt;!--                &lt;ref bean="mapEmpty" /&gt; --&gt;
  &lt;!--                &lt;ref bean="mapPrinting" /&gt; --&gt;
              &lt;/list&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
  &lt;bean class="org.springframework.orm.jpa.LocalEntityManagerFactoryBean" id="entityManagerFactory"&gt;
          &lt;property name="persistenceUnitName" value="MyPUnit" /&gt;
      &lt;/bean&gt;
  
      &lt;bean class="org.springframework.orm.jpa.JpaTransactionManager" id="transactionManager"&gt;
          &lt;property name="entityManagerFactory" ref="entityManagerFactory" /&gt;
      &lt;/bean&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p>I have also tried to modify <code>&lt;tx:annotation-driven /&gt;</code> like so : <code>&lt;tx:annotation-driven transaction-manager="transactionManager"/&gt;</code>  </p>