Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Problem while creating OSGi bundles using CRXDE in AEM 6.1

Avatar

Level 2

Hi Guys,

I am facing problem while creating OSGI bundles using CRXDE in AEM 6.1. I couldn't build the bundle, its throws error in build info like "Unable to scan class files: com.mywebsite.test.Activator (Class file format probably not supported by ASM ?)".  If anyone come across with this issue, kindly help me to overcome this one.

Thanks,

Raja

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Raja,

The best way to create the OSGI bundle is through Maven. CRXDE is not advisable for creating OSGI bundles.

Follow this article(First OSGI) which creates basic OSGI bundle(which contains Component and Service): https://helpx.adobe.com/experience-manager/using/first-osgi.html

Thanks,
Ratna Kumar,

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi Raja,

The best way to create the OSGI bundle is through Maven. CRXDE is not advisable for creating OSGI bundles.

Follow this article(First OSGI) which creates basic OSGI bundle(which contains Component and Service): https://helpx.adobe.com/experience-manager/using/first-osgi.html

Thanks,
Ratna Kumar,