Unable to resolve 415.378: missing requirement [415.378] osgi.wiring.package; (osgi.wiring.package=com.lowagie.text)
<blockquote>
  <p>Error: org.osgi.framework.BundleException: Unresolved constraint in
  bundle userportal-impl [415]: Unable to resolve 415.378: missing
  requirement [415.378] osgi.wiring.package;
  (osgi.wiring.package=com.lowagie.text)</p>
</blockquote>

<p>I'm able to build the project successfully but not able to run. </p>

<p>I'm using karaf-3.0.0 and jdk 1.7.0_101</p>

<p>I'm getting the this error when I'm trying to use itext pdf jar. I'he tried various versions of iText as 7.0, 5.5, 1.4.8, etc But the error continues as it is.. Please help me to solve this error. I've referred various links on stackoverflow </p>

<p><a href="https://stackoverflow.com/questions/30480508/karaf-maven-unable-to-resolve-missing-requirement-osgi-wiring-package">Karaf / Maven - Unable to resolve: missing requirement osgi.wiring.package</a></p>

<p><a href="https://stackoverflow.com/questions/33757837/osgi-missing-requirement-osgi-wiring-package">OSGi: Missing requirement osgi.wiring.package</a></p>

<p>but still I'm not able to solve this error.</p>

<p>===================== pom.xml =========================</p>

<pre><code>&lt;?xml version="1.0"?&gt;
&lt;project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&lt;parent&gt;
&lt;groupId&gt;com.monitor.app&lt;/groupId&gt;
&lt;artifactId&gt;app-services&lt;/artifactId&gt;
&lt;version&gt;2.0&lt;/version&gt;
&lt;/parent&gt;
&lt;groupId&gt;com.monitor.app.userportal&lt;/groupId&gt;
&lt;artifactId&gt;userportal-impl&lt;/artifactId&gt;
&lt;name&gt;userportal-impl&lt;/name&gt;
&lt;url&gt;http://maven.apache.org&lt;/url&gt;

&lt;properties&gt;
&lt;cxf.version&gt;2.7.5&lt;/cxf.version&gt;
&lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
&lt;bundle.import.package&gt;
com.hub.platform.commons,
com.hub.platform.logging.api,
com.hub.platform.services.api,
com.hub.platform.utils,
com.hub.platform.rdbms.api,
javax.sql,
javax.ws.rs,
javax.xml.bind.annotation,
org.codehaus.jackson.jaxrs,
org.codehaus.jackson,
org.codehaus.jackson.map,
org.codehaus.jackson.node,
org.springframework.dao,
org.springframework.jdbc.core,
org.springframework.jdbc.support,
com.hub.platform.notification.api,
com.hub.platform.crypto.api,
javax.ws.rs.core,
&lt;/bundle.import.package&gt;
&lt;bundle.export.package&gt;com.monitor.app.userportal.api&lt;/bundle.export.package&gt;
&lt;/properties&gt;

&lt;dependencies&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
&lt;artifactId&gt;jackson-jaxrs&lt;/artifactId&gt;
&lt;version&gt;1.9.13&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
&lt;artifactId&gt;jackson-core-asl&lt;/artifactId&gt;
&lt;version&gt;1.9.13&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
&lt;artifactId&gt;jackson-mapper-asl&lt;/artifactId&gt;
&lt;version&gt;1.9.13&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.springframework&lt;/groupId&gt;
&lt;artifactId&gt;spring-jdbc&lt;/artifactId&gt;
&lt;version&gt;3.2.4.RELEASE&lt;/version&gt;
&lt;/dependency&gt;

&lt;dependency&gt;
&lt;groupId&gt;com.hub.platform.services&lt;/groupId&gt;
&lt;artifactId&gt;services-api&lt;/artifactId&gt;
&lt;version&gt;${hub.services.version}&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;com.hub.platform.rdbms&lt;/groupId&gt;
&lt;artifactId&gt;rdbms-api&lt;/artifactId&gt;
&lt;version&gt;${hub.rdbms.version}&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;com.hub.platform.crypto&lt;/groupId&gt;
&lt;artifactId&gt;crypto-api&lt;/artifactId&gt;
&lt;version&gt;${hub.crypto.version}&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;com.hub.platform.notification&lt;/groupId&gt;
&lt;artifactId&gt;notification-api&lt;/artifactId&gt;
&lt;version&gt;${hub.notification.version}&lt;/version&gt;
&lt;/dependency&gt;

&lt;!-- 
&lt;dependency&gt;
&lt;groupId&gt;com.itextpdf&lt;/groupId&gt;
&lt;artifactId&gt;kernel&lt;/artifactId&gt;
&lt;version&gt;7.0.1&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;com.itextpdf&lt;/groupId&gt;
&lt;artifactId&gt;io&lt;/artifactId&gt;
&lt;version&gt;7.0.1&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;com.itextpdf&lt;/groupId&gt;
&lt;artifactId&gt;layout&lt;/artifactId&gt;
&lt;version&gt;7.0.1&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;com.itextpdf&lt;/groupId&gt;
&lt;artifactId&gt;forms&lt;/artifactId&gt;
&lt;version&gt;7.0.1&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;com.itextpdf&lt;/groupId&gt;
&lt;artifactId&gt;pdfa&lt;/artifactId&gt;
&lt;version&gt;7.0.1&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;com.itextpdf&lt;/groupId&gt;
&lt;artifactId&gt;pdftest&lt;/artifactId&gt;
&lt;version&gt;7.0.1&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.slf4j&lt;/groupId&gt;
&lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
&lt;version&gt;1.7.18&lt;/version&gt;
&lt;/dependency&gt;
--&gt;

&lt;!-- https://mvnrepository.com/artifact/com.lowagie/itext --&gt;
&lt;dependency&gt;
&lt;groupId&gt;com.lowagie&lt;/groupId&gt;
&lt;artifactId&gt;itext&lt;/artifactId&gt;
&lt;version&gt;1.4.8&lt;/version&gt;
&lt;/dependency&gt;

&lt;dependency&gt;
&lt;groupId&gt;org.slf4j&lt;/groupId&gt;
&lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
&lt;version&gt;1.7.18&lt;/version&gt;
&lt;/dependency&gt;


&lt;/dependencies&gt;

&lt;build&gt;
&lt;plugins&gt;
&lt;plugin&gt;
&lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
&lt;artifactId&gt;maven-bundle-plugin&lt;/artifactId&gt;
&lt;version&gt;2.3.7&lt;/version&gt;
&lt;extensions&gt;true&lt;/extensions&gt;
&lt;executions&gt;
&lt;execution&gt;
&lt;id&gt;bundle&lt;/id&gt;
&lt;phase&gt;package&lt;/phase&gt;
&lt;goals&gt;
&lt;goal&gt;bundle&lt;/goal&gt;
&lt;/goals&gt;
&lt;/execution&gt;
&lt;/executions&gt;
&lt;configuration&gt;
&lt;instructions&gt;
&lt;Bundle-Name&gt;SM User/Patient Impl&lt;/Bundle-Name&gt;
&lt;Bundle-Description&gt;This bundle is used for getting all user/patient portal related service&lt;/Bundle-Description&gt;
&lt;Bundle-SymbolicName&gt;${project.artifactId}&lt;/Bundle-SymbolicName&gt;
&lt;Import-Package&gt;${bundle.import.package}&lt;/Import-Package&gt;
&lt;Export-Package&gt;${bundle.export.package}&lt;/Export-Package&gt;
&lt;/instructions&gt;

&lt;/configuration&gt;
&lt;/plugin&gt;
&lt;/plugins&gt;
&lt;/build&gt;
</code></pre>

<p></p>