Salve

nel mio web services in Jersey (Java) sto cercando di effettuare un'integrazione con Spring-ldap.

Ho configurato il file xml come segue:
codice:
<?xml version="1.0" encoding="UTF-8"?>
<beans 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:ldap="http://www.springframework.org/schema/ldap"
    xsi:schemaLocation="
        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
        http://www.springframework.org/schema/ldap http://www.springframework.org/schema/ldap/spring-ldap.xsd">
 
   <!-- Initialization for data source JDBC -->
   <bean id="dataSource"
      class="org.springframework.jdbc.datasource.DriverManagerDataSource">
      <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
      <property name="url" value="${jdbc.url}"/>
      <property name="username" value="${jdbc.username}"/>
      <property name="password" value="${jdbc.password}"/>
   </bean>
   
   <!-- Definition for studentJDBCTemplate bean -->
   <bean id="studentJDBCTemplate"
      class="com.s.database.StudentJDBCTemplate">
      <property name="dataSource"  ref="dataSource" />    
   </bean>

   <!-- Initialization LDAP -->        

    <!-- LDAP config -->
   
       <ldap:context-source id="contextSource"       
        url="${ldap.url}" 
        username="${ldap.userDn}"
        password="${ldap.password}" 
        base="${ldap.base}" />

    <ldap:ldap-template id="ldapTemplate"
        context-source-ref="contextSource" />
        
    <bean id="ldapTreeBuilder" class="com.s.ldap.LdapTreeBuilder">
        <constructor-arg ref="ldapTemplate" />
    </bean>
   
   
   <bean id="personDao"
        class="com.s.ldap.PersonDaoImpl">
        <property name="ldapTemplate" ref="ldapTemplate" />
    </bean>

   
   <context:property-placeholder location="/config/application.properties"/>
    
</beans>
ma mi dà un'errore di:

referenced file contains error http://www.springframework.org/schem...pring-ldap.xsd

La cosa strana è che in un'altro progetto funziona perfettamente questa configurazione.
Magari ho inserito qualche libreria di troppo? tipo la validation? o non c'entra?