[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [pde-dev] Access restriction: The type 'Inject' is not API
|
Hi Christoph,
------------
javax.inject;version="1.0.0"
and updated your bundle to use Java 11 (BREE + classpath)?
------------
Yes. But that does not make a difference.
Best regards, Lars
On Mon, May 17, 2021 at 2:56 PM Christoph Läubrich
<laeubi@xxxxxxxxxxxxxx> wrote:
>
> Do you have import package
>
> javax.inject;version="1.0.0"
>
> and updated your bundle to use Java 11 (BREE + classpath)?
>
>
> Am 17.05.21 um 14:45 schrieb Lars Vogel:
> > Hi,
> >
> > in multiple projects of an RCP client I see the following error:
> >
> > Access restriction: The type 'Inject' is not API (restriction on
> > required library
> > 'C:\Users\Lars\workspace\client\.metadata\.plugins\org.eclipse.pde.core\.bundle_pool\plugins\javax.inject_1.0.0.v20091030.jar')
> >
> > If I check the iavax.inject bundle, the package is exported:
> >
> > Export-Package: javax.inject;version="1.0.0"
> >
> > I see that the javax.inject has some access rules defined, see image.
> > I can also modify them but after a restart the access rules are
> > restored.
> >
> > Does anyone know where these access rules are coming from? I do not
> > see anything related in the MANIFEST.MF of the javax.inject plug-in.
> >
> > Best regards, Lars
> >
> >
> > _______________________________________________
> > pde-dev mailing list
> > pde-dev@xxxxxxxxxxx
> > To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/pde-dev
> >
> _______________________________________________
> pde-dev mailing list
> pde-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/pde-dev
--
Eclipse Platform project co-lead
CEO vogella GmbH
Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com