So, here's the deal. I'm working with a CMS that works with Felix, which is awesome and everything, but when I'm trying to add an external dependency through Maven (JSON-lib, to be precise), I'm getting an org.osgi.framework.BundleException: Unresolved constraint in bundle 75: package; (package=org.apache.log4j).
I've had this problem before and I could fix one error by manually setting a dependency for the missing library in my project's pom.xml, but doesn't that kinda defeat the purpose? I mean, the dependency for log4j should be / is in the pom.xml file for the dependency, as a result it should automagically get its own dependencies when the project that uses said dependency is built. I'm kinda sure this is a problem in Felix, but it might also be Maven related itself. I've searched through Google for solutions for this problem, but most posts I find about the subject are related to a specific program that gets the problem. * Is there any solution to my problem besides manually setting the dependency in my project's pom? * Is this a Felix problem or am I doing something wrong? * Is there any other solution? I'd appreciate it if someone would be able to give me a solution to this problem, it's kinda annoying. -- View this message in context: http://www.nabble.com/Blargh---BundleException%2C-unresolved-constraints-%28Maven%29-tp21977741p21977741.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

