I was able to resolve the issue finally by using ItextPDF Below my pom: <bnd><![CDATA[
    Import-Package: javax.annotation,*;resolution:=optional
    -exportcontents: ${packages;VERSIONED}
    -dsannotations-options: inherit
    -conditionalpackage: com.itextpdf.*,\
    com.itextpdf.kernel.*,\
    ...