I'm using Apache Felix and Spring 3. All bundles I downloaded from http://www.springsource.com/repository/app and I installed too the dist Spring DM. So I don't know why Spring DM is not managing to the schema files be in the classpath.
The Bundle I did, in the start method of the activator class, I call the ClassPathXmlApplicationContext to start the context.
I'm getting this error when the bundle 15 (spring app) starts:
Code:org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [META-INF/spring/applicationContext.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface
And, I have this OSGi context:
Anyone?Code:-> ps START LEVEL 1 ID State Level Name [ 0] [Active ] [ 0] System Bundle (2.0.5) [ 1] [Active ] [ 1] Apache Felix Configuration Admin Service (1.2.4) [ 2] [Active ] [ 1] Apache Felix Bundle Repository (1.6.2) [ 3] [Active ] [ 1] Apache Felix Web Management Console (3.0.0) [ 4] [Active ] [ 1] Apache Felix Shell Service (1.4.2) [ 5] [Active ] [ 1] Apache Felix Http Bridge (2.0.4) [ 6] [Active ] [ 1] Apache Felix Log Service (1.0.0) [ 7] [Active ] [ 1] Apache Felix File Install (3.0.0) [ 8] [Active ] [ 1] Spring Context Support (3.0.3.RELEASE) [ 9] [Active ] [ 1] Spring AOP (3.0.3.RELEASE) [ 10] [Active ] [ 1] Apache Commons Pool (1.5.3) [ 11] [Active ] [ 1] Spring Web Servlet (3.0.3.RELEASE) [ 12] [Active ] [ 1] AOP Alliance API (1.0.0) [ 13] [Active ] [ 1] Spring Aspects (3.0.3.RELEASE) [ 14] [Active ] [ 1] Spring JDBC (3.0.3.RELEASE) [ 15] [Resolved ] [ 1] Geolocation Component (0.1.0) [ 16] [Active ] [ 1] spring-osgi-mock (2.0.0.M1) [ 17] [Active ] [ 1] Spring Object/XML Mapping (3.0.3.RELEASE) [ 18] [Active ] [ 1] Apache Commons Database Connection Pool (1.2.2.osgi) [ 19] [Active ] [ 1] Java XML Stream API (StAX) (1.0.1) [ 20] [Active ] [ 1] Spring JMS (3.0.3.RELEASE) [ 21] [Active ] [ 1] Spring Expression Language (3.0.3.RELEASE) [ 22] [Active ] [ 1] spring-osgi-io (2.0.0.M1) [ 23] [Active ] [ 1] Java Messaging System API (1.1.0) [ 24] [Active ] [ 1] Spring Context (3.0.3.RELEASE) [ 25] [Active ] [ 1] spring-osgi-web (2.0.0.M1) [ 26] [Active ] [ 1] Spring ASM (3.0.3.RELEASE) [ 27] [Active ] [ 1] AspectJ Runtime (1.6.1) [ 28] [Active ] [ 1] JSR 286 Portlet API 2.0 (2.0.0) [ 29] [Active ] [ 1] Spring ORM (3.0.3.RELEASE) [ 30] [Active ] [ 1] spring-osgi-extender (2.0.0.M1) [ 31] [Active ] [ 1] Java Bean Validation API (1.0.0.GA) [ 32] [Active ] [ 1] Java Persistence API (2.0.0) [ 33] [Active ] [ 1] Spring Transaction (3.0.3.RELEASE) [ 34] [Active ] [ 1] spring-osgi-core (2.0.0.M1) [ 35] [Active ] [ 1] Spring Beans (3.0.3.RELEASE) [ 36] [Active ] [ 1] spring-osgi-web-extender (2.0.0.M1) [ 37] [Active ] [ 1] Spring Web Portlet (3.0.3.RELEASE) [ 38] [Active ] [ 1] Spring Core (3.0.3.RELEASE) [ 39] [Active ] [ 1] Apache Commons Logging (1.1.1) [ 40] [Active ] [ 1] Spring Web (3.0.3.RELEASE) ->


