Error spring 3.2 and OSGi -



Error spring 3.2 and OSGi -

i want utilize spring 3.0 , osgi. spring file is:

<?xml version="1.0" encoding="utf-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:osgi="http://www.springframework.org/schema/osgi" xmlns:context="http://www.springframework.org/schema/context" xsi:schemalocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd"> <osgi:reference id="com.test.miprueba" interface="com.test.miprueba"/> </beans>

the dependencies of pom are:

<dependencies> <dependency> <groupid>commons-lang</groupid> <artifactid>commons-lang</artifactid> <version>2.6</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>org.springframework.aop</artifactid> <version>${org.springframework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>org.springframework.beans</artifactid> <version>${org.springframework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>org.springframework.context</artifactid> <version>${org.springframework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>org.springframework.core</artifactid> <version>${org.springframework.version}</version> </dependency> <dependency> <groupid>org.springframework.osgi</groupid> <artifactid>spring-osgi-core</artifactid> <version>1.2.1</version> </dependency> <dependency> <groupid>org.springframework.osgi</groupid> <artifactid>spring-osgi-web-extender</artifactid> <version>1.2.1</version> </dependency> <dependency> <groupid>org.springframework.osgi</groupid> <artifactid>spring-osgi-io</artifactid> <version>1.2.1</version> </dependency> </dependencies> <properties> <org.springframework.version>3.2.2.release</org.springframework.version> </properties>

when deploy component, error:

org.springframework.beans.factory.parsing.beandefinitionparsingexception: configuration problem: unable locate spring namespacehandler xml schema namespace [http://www.springframework.org/schema/osgi] offending resource: servletcontext resource [/web-inf/classes/meta-inf/prueba-spring.xml]

somebody can help me?

thank much!

spring osgi

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -