Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

i am getting thi error package com.adobe.cq.dam.cfm.ui does not exist (sp17)

Avatar

Level 2

] Reactor Summary for test CMS 1.5.0.0-SNAPSHOT:
[INFO]
[INFO] test ....................................... SUCCESS [ 0.425 s]
[INFO] test - Core ................................ SUCCESS [ 18.921 s]
[INFO] test - Repository Structure Package ........ SUCCESS [ 1.317 s]
[INFO] test- UI apps ............................. FAILURE [ 3.333 s]
[INFO] test content .......................... SKIPPED
[INFO] test config ........................... SKIPPED
[INFO] test - All ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.236 s
[INFO] Finished at: 2023-08-21T10:45:42+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project test-cms.ui.apps: Compilation failure
[ERROR]test-cms/ui.apps/target/generated-sources/htl/org/apache/sling/scripting/sightly/apps/dam/cfm/admin/components/v2/authoring/variations/variations__002e__html.java:[46,66] package com.adobe.cq.dam.cfm.ui does not exist

4 Replies

Avatar

Community Advisor

Hi @gmahendra ,

 

It looks like uber jar issue, may be its corrupted. Could you please try to delete it from m2 repository and build the project again.

 

Thanks,

Ritesh Mittal

Avatar

Community Advisor

@gmahendra 

Have you updated the uber-jar version in your main pom.xml to match with the service pack 17?

<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.5.17</version>
<scope>provided</scope>
</dependency>