Expand my Community achievements bar.

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

Unable to build the bundle in Crxde

Avatar

Level 1

Hi All,

Im new to aem, when i try to build a bundle in crxde-Lite,im getting the following erorr.

Has anyone encountered the same. please help me to solve it.

Eror Message:"Unable to scan class files: com.example.demo.impl.Activator (Class file format probably not supported by ASM ?) "

1 Accepted Solution

Avatar

Correct answer by
Level 10

Never build OSGI bundles with CRXDE lite. See this article.

https://helpx.adobe.com/experience-manager/using/first-osgi.html

This walks you through how to build a custom service using Maven.

View solution in original post

3 Replies

Avatar

Employee

Building bundles via CRXDE Lite is not recommended any more. You should use a maven project [1].

Regards,

Opkar

[1] https://docs.adobe.com/docs/en/aem/6-1/develop/dev-tools/ht-projects-maven.html

Avatar

Correct answer by
Level 10

Never build OSGI bundles with CRXDE lite. See this article.

https://helpx.adobe.com/experience-manager/using/first-osgi.html

This walks you through how to build a custom service using Maven.

Avatar

Level 1

can you please explain me the possible reason for that erorr..??