2 Replies Latest reply on Oct 12, 2009 4:20 PM by jc sou

    Unrecognized xbean element ... ns ... http://servicemix.apache.org/bean/1.0

    jc sou Newbie

      -> FUSE ESB 4.1

       

      I try to deploy a service mix bean su.

       

      I give pom.xml of su and xbean.xml for bean configuration.

       

      When I deploy my component with under a SA I have this errror message :

       

       

      #####################

      Caused by: javax.jbi.management.DeploymentException: <component-task-result xmlns="http://java.sun.com/xml/ns/jbi/management-message">

           <component-name>servicemix-bean</component-name>

           <component-task-result-details>

                <task-result-details>

                     <task-id>deploy</task-id>

                     <task-result>FAILED</task-result>

                     <message-type>ERROR</message-type>

                     <task-status-msg><msg-loc-info><loc-token/><loc-message>Could not deploy xbean service unit</loc-message></msg-loc-info></task-status-msg>

                     <exception-info>

                          <nesting-level>1</nesting-level>

                          <msg-loc-info>

                               <loc-token />

                               <loc-message>Unrecognized xbean element mapping: bean in namespace http://servicemix.apache.org/bean/1.0</loc-message>

                               <stack-trace><![CDATA[org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized xbean element mapping: bean in namespace http://servicemix.apache.org/bean/1.0

           at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:273)

           at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:155)

      #######

       

       

      Could you help me please ?

       

      Thanks in advence.