I have the same error with CXF-SE:

org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized
xbean namespace mapping: http://servicemix.apache.org/cxfse/1.0


I have the following in my pom.xml (I have copied the jar in D:\):

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.4.3</version>
        <configuration>
                <additionalClasspathDependencies>
                
<additionalClasspathDependency>file://D:/servicemix-cxf-se-2009.01.jar</additionalClasspathDependency>
                </additionalClasspathDependencies>
        </configuration>
</plugin>      
   
and in my spring.xml I basically replaced all references to JSR181 with
references to CXF-SE:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans";
           xmlns:sm="http://servicemix.apache.org/config/1.0"; 
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
           xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0";
       xmlns:test="urn:test"
       xsi:schemaLocation="
         http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans.xsd
         http://servicemix.apache.org/cxfse/1.0
          
http://servicemix.apache.org/schema/servicemix-cxfse-2009.01.xsd";>

  <sm:container id="jbi" embedded="true" createMBeanServer="false"
monitorInstallationDirectory="false">
        <sm:deployments>
      <sm:installSharedLibrary groupId="org.apache.servicemix"
artifactId="servicemix-shared"/>
      <sm:installComponent groupId="org.apache.servicemix"
artifactId="servicemix-cxf-se"/>
    </sm:deployments>
    <sm:activationSpecs>
      <sm:activationSpec>
        <sm:component>
          <cxfse:component> 
            <cxfse:endpoints>
              <cxfse:endpoint service="test:service"
                                        endpoint="endpoint">
                <cxfse:pojo>
                        <bean
class="eu.diva.tis.thinkingtool.resource.ResourceFinder">
                                <property name="context" ref="context"/>
                        </bean>
                </cxfse:pojo>
              </cxfse:endpoint>
            </cxfse:endpoints>
          </cxfse:component>
        </sm:component>
      </sm:activationSpec>
    </sm:activationSpecs>
  </sm:container>
</beans>

-- 
View this message in context: 
http://www.nabble.com/Error-during-integration-testing-with-Eclipse-tp24389307p24391387.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to