Okay, for all it's worth, here's what I have figured out. In order for my
application (that uses Spring + both Blueprint and Spring-DM configuration
in different bundles) to deploy in Karaf 3, I have to ensure that 

a) I am using the Spring 3.2.4.RELEASE (as the spring feature provided by
Karaf)
b) Ensure that Spring 4.0.2.RELEASE_1 (Karaf 3 feature) is NOT installed/not
active.

This doesn't seem right, unless I am missing something. But even if I am
missing something here, shouldn't there be an easy, straightforward way of
using any version of Spring (or any library, for that matter) without the
container getting in the way? It seems to me that Karaf/OSGi aims to solve
some real problems by, unfortunately, imposing a ton of other problems and
clunky complexities (with sparse documentation), and the solution often
becomes a problem...




--
View this message in context: 
http://karaf.922171.n3.nabble.com/Spring-4-0-2-and-spring-dm-tp4033093p4033116.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to