Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

osgi.compendium bundle classes not found

Avatar

Avatar
Validate 1
Level 2
Adilmo
Level 2

Likes

6 likes

Total Posts

65 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
Adilmo
Level 2

Likes

6 likes

Total Posts

65 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
Adilmo
Level 2

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
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,153 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,153 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
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)