The product interface org.apache.sling.api.resource.Resource annotated with @ProviderType should not be implemented by custom code. Detected in com.day.cq.wcm.api.TemplatedResource contained in /apps/aem-app-packages/application/install/core-aemapp.core-1.0.0-SNAPSHOT.jar.
The product interface com.day.cq.wcm.api.Page annotated with @ProviderType should not be implemented by custom code. Detected in com.day.cq.wcm.api.msm.Blueprint contained in /apps/aem-app-packages/application/install/core-aemapp.core-1.0.0-SNAPSHOT.jar.
Rule:
CQRules:CQBP-84 |
https://www.adobe.com/go/aem_cmcq_cqbp-84_en
i don't have any custom code which implement Resource but still i'm getting this issue reported.
Does anyone know that how to fix it?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @vkarthick ,
Even if you don't have any explicit custom code implementing these interfaces, the issue could be caused by third-party libraries or dependencies included in your project.
Use tools like the Apache Sling Feature Model Analyzer (https://github.com/apache/sling-org-apache-sling-feature-analyser) or other dependency analysis tools to identify which packages are causing the issue. This can help you pinpoint the source of the problem and take appropriate action. Also review AEM versions and compatibility.
Hi @vkarthick ,
Even if you don't have any explicit custom code implementing these interfaces, the issue could be caused by third-party libraries or dependencies included in your project.
Use tools like the Apache Sling Feature Model Analyzer (https://github.com/apache/sling-org-apache-sling-feature-analyser) or other dependency analysis tools to identify which packages are causing the issue. This can help you pinpoint the source of the problem and take appropriate action. Also review AEM versions and compatibility.
Hi,
This issue occurs when interfaces like org.apache.sling.api.resource.Resource and com.day.cq.wcm.api.Page annotated with @ProviderType are implemented by custom code, which is not recommended. To fix the problem:
Views
Likes
Replies