You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Peter Gardfjäll (JIRA)" <ji...@apache.org> on 2008/11/27 22:14:44 UTC

[jira] Updated: (FELIX-838) Potential bug: org.osgi.compendium-1.2.0.jar + Spring-DM == NoClassDefFoundError

     [ https://issues.apache.org/jira/browse/FELIX-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Gardfjäll updated FELIX-838:
----------------------------------

    Attachment: workspace-problem.zip

Unzip this Eclipse workspace and point eclipse to it.
Please let me know if there are any problems.

> 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
>         Attachments: workspace-problem.zip
>
>
> 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/users@felix.apache.org/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.