Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 65887 invoked from network); 7 Jul 2009 15:26:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jul 2009 15:26:36 -0000 Received: (qmail 47226 invoked by uid 500); 7 Jul 2009 15:26:46 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 47170 invoked by uid 500); 7 Jul 2009 15:26:46 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 47160 invoked by uid 99); 7 Jul 2009 15:26:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2009 15:26:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2009 15:26:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E4F44234C1E9 for ; Tue, 7 Jul 2009 08:26:14 -0700 (PDT) Message-ID: <1860606906.1246980374936.JavaMail.jira@brutus> Date: Tue, 7 Jul 2009 08:26:14 -0700 (PDT) From: "Richard S. Hall (JIRA)" To: dev@felix.apache.org Subject: [jira] Resolved: (FELIX-838) Potential bug: org.osgi.compendium-1.2.0.jar + Spring-DM == NoClassDefFoundError In-Reply-To: <1296048091.1227819404854.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-838?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Richard S. Hall resolved FELIX-838. ----------------------------------- Resolution: Won't Fix Assignee: Richard S. Hall The issue here is that our OSGi compendium bundle dynamically imports depen= dencies to avoid excessive dependencies, which results in errors when the p= ackages are used with their dependencies being satisfied. We have decided t= o no longer provide bundle-ized OSGi JAR files and just include the package= s we need from compendium into the subprojects needing them. > Potential bug: org.osgi.compendium-1.2.0.jar + Spring-DM =3D=3D NoClassDe= fFoundError > -------------------------------------------------------------------------= ------- > > 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=C3=A4ll > Assignee: Richard S. Hall > Priority: Minor > Attachments: workspace-problem.zip > > > When Sping tries to import the HttpService into a bundle NoClassDefFoundE= rror 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 narro= wed down to javax.servlet and javax.servlet.http and additionally two "regu= lar" optional imports for the mentioned packages are required to make it wo= rk. > It remains to investigate whether this is a problem with the compendium b= undle or with Spring-DM, which are the two main suspects here. > Refer to the following e-mail thread for more information: http://www.ma= il-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-s= erver run configuration. See the Felix-server/README.txt for more detailed = information. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.