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


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:

<beans xmlns="" xmlns:xsi="" xmlns:p="" xmlns:context="" xmlns:tx="" xmlns:jpa="" xsi:schemaLocation="">


<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="locations">

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

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

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 [] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface"

Please help if you met it before.

Thanks DuLe

No answers yet.