[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] ClassNotFoundException with, org.eclipse.osgi_3.3.0.v20070530
- From: "Karl Pauls" <karlpauls@xxxxxxxxx>
- Date: Wed, 19 Sep 2007 18:43:42 +0200
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AZEQMTKjRaXsEFE1liQINRQAV5jEbzfhGXnBu5VHLn2EFEHddvfaoDDrukv7GNUqT/tmLTgxE2JAM9XZDtiV0meWe4XBJZNA9t0wzrK5FbwJNncCbeyeL5qXvU1sB/TkIWt1hnOMEaaRnDoekWe/4wnOeEQe/wx9rvLY42B6Oe4=
You might want to look into Peter Kriens' BND tool which makes it easy
to create your bundles and does calculate your imports for you:
On 9/19/07, Tony Seebregts <tony.seebregts@xxxxxxxxx> wrote:
> Hi Toni,
> Thanks for the suggestions - I experimented a bit with your suggestions
> and it seems there are two ways round the problem:
> - either explicitly include all the required libraries in the
> dependencies list as you suggested (which can be difficult as many of
> them only show up at runtime).
> - or set osgi.java.profile.bootdelegation=override (I'm not too sure of
> the consequences of this though).
> Changing the org.osgi.framework.bootdelegation or the
> osgi.contextClassLoader properties had no effect.
> > Date: Wed, 19 Sep 2007 14:14:56 +0200
> > From: "Toni Menzel" <tonimenzel@xxxxxx>
> > Subject: Re: [equinox-dev] ClassNotFoundException with
> > org.eclipse.osgi_3.3.0.v20070530
> > To: Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
> > Message-ID: <20070919121456.126800@xxxxxxx>
> > Content-Type: text/plain; charset="us-ascii"
> > Usually you should import everything other than java.*
> > (so add javax.xml.xpath, javax.crypto to your Import-Package directive)
> > Check your org.osgi.framework.bootdelegation property. Usually equinox delegates everything to the bootclasspath (where javax resides) for historical reasons. But this behaviour is going to change and might have changed already in 3.3..
> > /Toni
> equinox-dev mailing list