Groovy bundles and OSGI R6 Annotations: AEM 6.4 | Community
Skip to main content
February 27, 2019
Solved

Groovy bundles and OSGI R6 Annotations: AEM 6.4

  • February 27, 2019
  • 1 reply
  • 1047 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gaurav-Behl

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.

1 reply

Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
February 28, 2019

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.