title: How to integrate Springframework with osgi
body: <p>I am trying to use the springframework with the osgi inside the bundle pom i have imported the dependency like :</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
      &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
      &lt;version&gt;3.0.2.RELEASE&lt;/version&gt;
  &lt;/dependency&gt; 
  </code></pre>
  
  <p>Also, i have configured the plugin for this:</p>
  
  <pre><code>&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.2.0&lt;/version&gt;
                  &lt;extensions&gt;true&lt;/extensions&gt;
                  &lt;configuration&gt;
                      &lt;instructions&gt;
                          &lt;Export-Package&gt;org.spring*&lt;/Export-Package&gt;
                      &lt;/instructions&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  </code></pre>
  
  <p>But, when i am starting my felix i am getting the below exception:</p>
  
  <pre><code>org.osgi.framework.BundleException: Unable to resolve com.org.it.processing.serviceintegration [3](R 3.0):
   missing requirement [com.org.it.processing.serviceintegration [3](R 3.0)] osgi.wiring.package; 
   (&amp;(osgi.wiring.package=org.springframework.http)(version&gt;=3.0.0)(!(version&gt;=4.0.0))) 
   Unresolved requirements: [[com.org.it.processing.serviceintegration [3](R 3.0)] osgi.wiring.package; 
   (&amp;(osgi.wiring.package=org.springframework.http)(version&gt;=3.0.0)(!(version&gt;=4.0.0)))]
      at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
      at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)
      at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
      at java.lang.Thread.run(Thread.java:745)
  [Device Manager] info: Passive start
  </code></pre>
  
  <p>Please help me. </p>