On Fri, Nov 13, 2009 at 15:38, Sujoy <sbhattachar...@eforceglobal.com> wrote: > Hi Alex, > > Thanks for the information. Using <Embed-Dependency> I have overcome the > AXIS2-ADB ClassNotFound Exception. But really couldn't able to integrate > AXIS2 with sling5.After putting this tag lots of other dependencies has > come-up which is actually preventing me to activate my bundle. Some of this > are as follows. > > !! com.sun.javadoc,version=0.0.0 from -- Cannot be resolved > !! com.sun.mirror.declaration,version=0.0.0 from -- Cannot be resolved > !! com.sun.org.apache.xerces.internal.parsers,version=0.0.0 from -- Cannot > be resolved > !! com.sun.org.apache.xerces.internal.util,version=0.0.0 from -- Cannot be > resolved > !! com.sun.org.apache.xerces.internal.xni.parser,version=0.0.0 from -- > Cannot be resolved > !! com.sun.tools.javac,version=0.0.0 from -- Cannot be resolved > !! com.sun.tools.javadoc,version=0.0.0 from -- Cannot be resolved
Configuring EmbedDependency can be quite tricky, as you need to explicitly ignore/export packages and take the dependencies into account. Since org.apache.axis2.osgi seems to be an OSGI bundle with everything in it (IIUC), I suggest you first try to install that as a bundle. You can use the Felix web management console (/system/console/bundles). Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com