Hi,
Is your pom.xml contains the servicemix-bean dependency ?
Regards
JB
youhaodeyi wrote:
Hi,
I have tried your method, but the problem is still there. I don't understand
why add a property in pom.xml.
thanks.
Freeman Fang wrote:
Hi,
Add
<properties>
<componentName>servicemix-bean</componentName>
</properties>
to the pom.xml and try again
Freeman
youhaodeyi wrote:
I set a service unit and its xbean.xml is:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:bean="http://servicemix.apache.org/bean/1.0"
xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
xmlns:ex="http://www.servicemix.org/example"
<bean:endpoint service="ex:httphandler" endpoint="handlerEndpoint"
bean="#extractorBean"/>
<bean id="extractorBean"
class="org.apache.servicemix.jbi.HandlerBean"/>
</beans>
When I deploy it I got the error:
Unrecognized xbean namespace mapping:
http://servicemix.apache.org/bean/1.0
Does anyone know this error?
thanks.
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com