Can you send me the bundle? I'd like to see what is going on. Kind regards,
Peter Kriens JEC> Seeing a problem in the felix runtime with a bundle that I built with JEC> the new maven-bundle-plugin. When I install the bundle in felix and the JEC> bundle resolves I get the: JEC> WARNING: *** Class 'org.apache.commons.collections.map.LinkedMap' was JEC> not found because bundle 16 does not import JEC> 'org.apache.commons.collections.map' even though bundle 5 does export JEC> it. To resolve this issue, add an import for JEC> 'org.apache.commons.collections.map' to bundle 16. *** JEC> (java.lang.ClassNotFoundException: *** Class JEC> 'org.apache.commons.collections.map.LinkedMap' was not found because JEC> bundle 16 does not import 'org.apache.commons.collections.map' even JEC> though bundle 5 does export it. To resolve this issue, add an import for JEC> 'org.apache.commons.collections.map' to bundle 16. ***) JEC> Seems straight forward enough so following Felix's advice I attempt to JEC> add the package as an import to the maven-bundle-plugin configuration JEC> instructions - but the maven build then fails with: JEC> [ERROR] Importing packages that are never refered to by any class on the JEC> Bundle-Classpath[Jar:dot]: [org.apache.commons.collections.map] JEC> Doing a manual check of the bundle and dependencies I too don't see any JEC> dependency on commons.collection. So trying the old plugin... JEC> It too considers org.apache.commons.collections.map to be a SUPERFLUOUS JEC> IMPORT for the classes I am packaging but at least it creates the bundle JEC> with the import for org.apache.commons.collections.map. JEC> When I try the bundle with this 'SUPERFLUOUS IMPORT' in the runtime, it JEC> resolves and I get no warning. JEC> Any ideas on what is going on here? JEC> John -- Peter Kriens Tel +33467542167 9C, Avenue St. Drézéry AOL,Yahoo: pkriens 34160 Beaulieu, France ICQ 255570717 Skype pkriens Fax +1 8153772599