Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

com.day.cq.dam.api.s7dam.scene7 does not exist after uber-jar-6.5.11 upgrade

Avatar

Level 4

Hi ,

 

I updated my uber jar version to 6.5.11. Jar has been downloaded and while compiling the code base. I am getting the following error 

 

package com.day.cq.dam.scene7.api does not exist 

cannot find symbol
[ERROR] symbol: class Scene7DAMService

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi @lukasz-m ,

 

Thanks for the reply. However below dependency solved the issue. Thank you!

 

<dependency>
<artifactId>cq-dam-scene7</artifactId>
<version>5.6.20</version>
<groupId>com.day.cq.dam</groupId>
<scope>provided</scope>
</dependency>

View solution in original post

5 Replies

Avatar

Level 4

Hi @vjleo94 

can you please let us know what version of aem are you using, and the service pack version aswell,

as per my knowledge I believe.

if you are using aem 6.5 you should have service pack version of minimum 6.5.9-1 to use uber jar of 6.5.10

I think having a service pack solves your problems instead of having a uber jar 6.5.10.

thanks

Avatar

Employee Advisor

Hi @vjleo94 ,

Can you please help us with following info :

  1. Old AEM version with service pack(if any)
  2. New AEM version with service pack

I checked the packages of 6.4 & 6.5 :
https://www.adobe.io/experience-manager/reference-materials/6-4/javadoc/overview-summary.html
https://www.adobe.io/experience-manager/reference-materials/6-5/javadoc/overview-summary.html

And I see the following were removed in 6.5 :

com.day.cq.dam.scene7	
com.day.cq.dam.scene7.api	
com.day.cq.dam.scene7.api.net

While I see no more changes w.r.t scene7 from uber-jar 6.5.0 to 6.5.11, refer :
https://javadoc.io/doc/com.adobe.aem/uber-jar/6.5.0/index.html

https://javadoc.io/doc/com.adobe.aem/uber-jar/latest/overview-summary.html


Thanks.

 

Avatar

Level 4

Hi @Pavan_Kalyan , @milind_bachani 

 

Old version 6.4.7.

 

New version 6.5.11. Using the uber jar with deprecations solved the issue for me. However, No where in Adobe docs its mentioned that com.day.cq.dam.scene7.api is deprecated and there is no alternate provided as well. 

 

So I guess for now, only option is to use uber jar with deprecations (uber-jar-6.5.11-apis-with-deprecations.jar).

 

Let me know if there is an alternate solutions, also suggest if it is okay to use the JAR I mentioned.

 

Thanks,

Vijay

Avatar

Community Advisor

Hi @vjleo94, starting form AEM 6.5 above package is not part of uber-jar any more please add below dependecy into you project, it should solve your issue:

<dependency>
<groupId>com.day.cq.dam</groupId>
<artifactId>cq-dam-scene7</artifactId>
<version>5.6.20</version>
<scope>provided</scope>
</dependency>

Avatar

Correct answer by
Level 4

Hi @lukasz-m ,

 

Thanks for the reply. However below dependency solved the issue. Thank you!

 

<dependency>
<artifactId>cq-dam-scene7</artifactId>
<version>5.6.20</version>
<groupId>com.day.cq.dam</groupId>
<scope>provided</scope>
</dependency>