# Meet error about spring xml namespace when run multiple version/application

**URL:** <https://community.ofelia.com/t/meet-error-about-spring-xml-namespace-when-run-multiple-version-application/5483>\
**Category:** Q&A\
**Created:** [24 December 2014 09:43 UTC](https://community.ofelia.com/t/meet-error-about-spring-xml-namespace-when-run-multiple-version-application/5483 "2014-12-24T09:43:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lehoangdu](https://avatars.discourse-cdn.com/v4/letter/l/b38774/32.png) [@lehoangdu](https://community.ofelia.com/u/lehoangdu)\
**Post date:** [24 December 2014 09:43 UTC](https://community.ofelia.com/t/meet-error-about-spring-xml-namespace-when-run-multiple-version-application/5483/1 "2014-12-24T09:43:49Z")

</div>

Dear All,

I’ using Bonita v6.3.3 community. I have a connector to update data to database (used SPRING Data - v3.2.8).  
When connector execute. I load all beans defined from the configuration then call repository to persist to database.  
Here is the config file connector-data-config.xml:

```
<context:annotation-config/>
<tx:annotation-driven/>

<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
	<property name="locations">
		<list>
			<value>file:${PLF_HOME}/conf/config.properties</value>
		</list>
	</property>
</bean>

     <!-- Import database configuration -->
<import resource="datasource-config.xml" />

<!-- data layer -->
<beans profile="spring-data-jpa">
	<!-- workflow data -->		
	<jpa:repositories base-package="com.plf.data.repository"/>
	<context:component-scan base-package="com.plf.data.repository"/>
</beans>

```

I have a process which integrate this connector, I also import all necessary spring library (spring context-v328, spring-oap, spring-core, spring-expression, spring-bean, orm, jdbc…)

- With the first process version, It run normal, load bean and save data ok !!
- But the next process version (run parallel with old version), I met the error about Spring namespace like this:

“**Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [conf/spring/connector-data-config.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.springframework.context.config.ContextNamespaceHandler] for namespace [[http://www.springframework.org/schema/context](http://www.springframework.org/schema/context)] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface**”

Please help if you met it before.

Thanks  
DuLe
