Expand my Community achievements bar.

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

Groovy bundles and OSGI R6 Annotations: AEM 6.4

Avatar

Level 1

I am trying to develop a bundle using Groovy. We have tried with Groovy versions 2.4.16 and 2.5.6.

When building using Maven, I get an error when trying to use the annotation @ObjectClassDefinition .

The error says "unexpected token".

The same annotation works without error when using Java 8.

Does anyone know if this can be remedied?

1 Accepted Solution

Avatar

Correct answer by
Level 10

aem-groovy-console-12.0.0.zip  @ https://github.com/icfnext/aem-groovy-console/releases  delivers 2.4.13 which is compatible with 6.4

At least groovy console works fine with this version.

Give it a shot.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

aem-groovy-console-12.0.0.zip  @ https://github.com/icfnext/aem-groovy-console/releases  delivers 2.4.13 which is compatible with 6.4

At least groovy console works fine with this version.

Give it a shot.