title: Missing requirement package in OSGI Bundle
body: <p>I'm trying to connect oracle database using org.springframework.jdbc.core.JdbcTemplate in OSGI bundle. When deploying bundle in servicemix , it shows error</p>
  
  <blockquote>
    <p>org.osgi.framework.BundleException: Unresolved constraint in bundle My Second Service [376]: Unable to resolve 376.0: missing requirement [376.0] package; (package=org.springframework.jdbc.core)</p>
  </blockquote>
  
  <p>And here is my pom file</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
  
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
  &lt;parent&gt;
      &lt;groupId&gt;com.my.service&lt;/groupId&gt;
      &lt;artifactId&gt;my-service&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;relativePath&gt;../my-service/pom.xml&lt;/relativePath&gt;
  &lt;/parent&gt;
  
  &lt;groupId&gt;com.brodos.osgi&lt;/groupId&gt;
  &lt;artifactId&gt;my-second-service&lt;/artifactId&gt;
  &lt;packaging&gt;bundle&lt;/packaging&gt;
  &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  
  &lt;name&gt;My Second Service&lt;/name&gt;
  &lt;url&gt;http://example.net&lt;/url&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.oracle&lt;/groupId&gt;
          &lt;artifactId&gt;ojdbc14&lt;/artifactId&gt;
          &lt;version&gt;10.2.0.3.0&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
          &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
          &lt;version&gt;1.6.4&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
          &lt;artifactId&gt;camel-spring&lt;/artifactId&gt;
          &lt;version&gt;2.8.0-fuse-01-13&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-jdbc&lt;/artifactId&gt;
          &lt;version&gt;1.2.1&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;extensions&gt;true&lt;/extensions&gt;
              &lt;version&gt;1.4.3&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;instructions&gt;
                      &lt;Bundle-SymbolicName&gt;My Second Service&lt;/Bundle-SymbolicName&gt;
                      &lt;Bundle-Description&gt;My Second Service&lt;/Bundle-Description&gt;
                      &lt;Import-Package&gt;
                          org.apache.servicemix.camel.nmr,
                          org.apache.servicemix.nmr.api,
                          org.apache.servicemix.nmr.api.event,
                          org.apache.servicemix.nmr.api.internal,
                          *
                      &lt;/Import-Package&gt;
                      &lt;Private-Package&gt;com.test.osgi.*&lt;/Private-Package&gt;
                      &lt;Include-Resource&gt;src/main/resources&lt;/Include-Resource&gt;
                      &lt;DynamicImport-Package&gt;*&lt;/DynamicImport-Package&gt;
                  &lt;/instructions&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p></p>