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 > > > -- View this message in context: http://www.nabble.com/Unrecognized-xbean-namespace-mapping-error.-tp23827771p23831160.html Sent from the ServiceMix - User mailing list archive at Nabble.com.