[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [recommenders-dev] Code Search Incubator - Bundle is not resolved at run time
|
Hi Kavith,
the reason for your package uses conflicts is likely that your code requires Guava 10 (your Manifest.mf contains a required-bundle directive with a version range 10-11) but also uses plugins from recommenders that use packages of Guava 14 as part of their API. To get rid of this, you should change the version from [10,11) to [14,15). Or even better you import the packages you need like this:
Import-Package: com.google.common.annotations;version="[14.0.0,15.0.0)",
com.google.common.base;version="[14.0.0,15.0.0)",
com.google.common.collect;version="[14.0.0,15.0.0)",
com.google.common.eventbus;version="[14.0.0,15.0.0)",
com.google.common.util.concurrent;version="[14.0.0,15.0.0)"
Unfortunately you have to change the map in IndexInformationCache by a real Guava Cache. But I guess this should not be a big problem.
HTH
Marcel
On Aug 5, 2013, at 6:03 AM, kavith Thiranga <rc404mekt@xxxxxxxxx> wrote:
> Hi developers,
>
> I am getting this error (Please refer to the attached log file) recently when I try to debug the code search incubator. Plugin export works perfectly but it fails to work at run time.
> I have checked the manifests again and again, but I cannot find the issue.
> Please help me with this.
> Thanks
>
> --
> Kavith Thiranga Lokuhewage,
> Undergraduate,
> BEng (Hons) Software Engineering,
> Staffordshire University, UK.
> APIIT Sri Lanka.
>
> Linkedin Twitter
>
> <log.txt>_______________________________________________
> recommenders-dev mailing list
> recommenders-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/recommenders-dev