Potential bug: org.osgi.compendium-1.2.0.jar + Spring-DM == NoClassDefFoundError
--------------------------------------------------------------------------------

                 Key: FELIX-838
                 URL: https://issues.apache.org/jira/browse/FELIX-838
             Project: Felix
          Issue Type: Bug
          Components: Framework
    Affects Versions: felix-1.4.0
         Environment: Win XP, Felix version 1.4.0, compendium bundle 1.2.0, 
Spring-DM 1.1.2, Pax-Web 0.5.1
            Reporter: Peter GardfjÀll
            Priority: Minor


When Sping tries to import the HttpService into a bundle NoClassDefFoundError 
for javax.servlet.Servlet is thrown.
This only happens when the org.osgi.compendium-1.2.0.jar bundle is used.
A slightly modified bundle with the DynamicImport-Package statement narrowed 
down to javax.servlet and javax.servlet.http and additionally two "regular" 
optional imports for the mentioned packages are required to make it work.

It remains to investigate whether this is a problem with the compendium bundle 
or with Spring-DM, which are the two main suspects here.

Refer to the following e-mail thread for more information:  
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02623.html

An Eclipse workspace is attached to this issue. To reproduce the problem, unzip 
the workspace, start eclipse with that workspace and run the Felix-server run 
configuration. See the Felix-server/README.txt for more detailed information.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to