osgi.compendium bundle classes not found

Avatar

Avatar

Adilmo

Avatar

Adilmo

Adilmo

02-06-2020

Hi All, 

 

We are trying to upgrade form spring dm to eclipse gemini. Gemini has released a new version which support spring 5.x onwards. 

 

While installing the gemini extender bundle we are facing issue that some of the classes (which should ideally be in compendium bundle) are not found ? 

 

We need information  regarding whether,

1. AEM already has osgi.core and osgi.cmpn bundles installed or do we need to install them explicitly. We need version 5.0.0. 

2. Gemini extender bundle seems to rely on org.osgi.service.blueprint.reflect.ComponentMetadata or rather blueprint container service in general.

 

Caused by: java.lang.IllegalStateException: Cannot load blueprint classes java.lang.ClassNotFoundException: org.osgi.service.blueprint.reflect.ComponentMetadata not found by org.eclipse.gemini.blueprint.extender [643]
	at org.eclipse.gemini.blueprint.extender.internal.blueprint.activator.BlueprintTypeCompatibilityChecker.<init>(BlueprintTypeCompatibilityChecker.java:40) [org.eclipse.gemini.blueprint.extender:3.0.0.M01]
	at org.eclipse.gemini.blueprint.extender.internal.blueprint.activator.BlueprintLoaderListener.start(BlueprintLoaderListener.java:50) [org.eclipse.gemini.blueprint.extender:3.0.0.M01]
	at org.eclipse.gemini.blueprint.extender.internal.boot.ChainActivator.start(ChainActivator.java:93) [org.eclipse.gemini.blueprint.extender:3.0.0.M01]
	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:698) [org.apache.felix.webconsole:4.3.8]
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:2402)
	... 58 common frames omitted

 

 

 

 

 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

03-06-2020

if dependencies are available in AEM then you don't need to install those in AEM because bundle with higher version always get activated and if there are corresponding dependent bundles then you may endup installing lot of bundles and activate and deactivate others. So not advisable to make changes in AEM.

 

Though you can go to aem depfinder and get dependencies from AEM and add those dependency in maven with scope provided just for compilation.

 

I am not sure about the other error which is

org.osgi.service.blueprint.reflect.ComponentMetadata not found by org.eclipse.gemini.blueprint.extender [643]

Please https://www.eclipse.org/forums/index.php/t/171849/ check if helps

 

 

 

Answers (0)