Hi @VasudevaraoGu
In Adobe Experience Manager 6.5 LTS, replacing javax.annotation with jakarta.annotation is usually not required. AEM 6.5 still relies on many javax packages, so switching to jakarta can cause runtime errors like “Unable to resolve bundle – Missing requirement: Import-Package: jakarta.annotation.” The Adobe transpiler suggestion is mainly for future compatibility, especially with Adobe Experience Manager as a Cloud Service.
Key Points:
-
AEM 6.5 LTS still supports javax packages.
-
Replacing with jakarta.annotation may cause OSGi bundle resolution errors.
-
The transpiler recommendation is mainly for future/cloud compatibility.
-
For AEM 6.5 projects, it is safer to continue using javax.annotation-api unless Jakarta support is explicitly required.
Thanks,
Vishal