This is the xbean.xml inside hibernate su. it has the namespace mentioned in it.
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns:hibernate="http://com.dnb.services/hibernate/1.0" xmlns:lw="http://LW.dnb.com/Sample"> <hibernate:hibernate service="lw:LWHibernate" endpoint="LWHibernate" interfaceName="lw:LWHibernate"> <property name="hibernateTemplate"> <ref bean="hibernateTemplate"/> </property> </hibernate:hibernate> <bean id="sessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"> <property name="dataSource" ref="dataSource"/> <property name="annotatedClasses"> <list> <value>com.dnb.LW.Sample.Person</value> </list> </property> <property name="hibernateProperties"> <value>hibernate.dialect=org.hibernate.dialect.MySQLDialect</value> </property> </bean> <bean id="hibernateTemplate" class="org.springframework.orm.hibernate3.HibernateTemplate"> <property name="sessionFactory"> <ref bean="sessionFactory"/> </property> </bean> <bean id="dataSource" destroy-method="close" class="org.apache.commons.dbcp.BasicDataSource"> <property name="driverClassName" value="com.mysql.jdbc.Driver"/> <property name="url" value="jdbc:mysql://10.239.30.27/IQDATABASE"/> <property name="username" value="root"/> <property name="password" value="mysql"/> </bean> </beans> Gert Vanthienen wrote: > > Strange, > > This one does not even have the namespace mentioned in the error: > Unrecognized xbean namespace mapping: > http://com.dnb.services/hibernate/1.0 > > Where is this namespace URI mentioned in your files? > > Gert > > unni_varun wrote: >> This is my xbean.xml inside http su. >> >> <beans xmlns:http="http://servicemix.apache.org/http/1.0" >> xmlns:lw="http://LW.dnb.com/Sample"> >> >> <http:endpoint service="lw:LightWeight" >> endpoint="Test" >> targetService="lw:LightWeight" >> role="consumer" >> locationURI="http://localhost:8192/Test/" >> defaultMep="http://www.w3.org/2004/08/wsdl/in-out" >> soap="true" /> >> >> </beans> >> >> > > -- View this message in context: http://www.nabble.com/Error-while-project-deployment-using-maven-tf3926044s12049.html#a11139407 Sent from the ServiceMix - User mailing list archive at Nabble.com.
