com.day.cq.dam.api.s7dam.scene7 does not exist after uber-jar-6.5.11 upgrade | Community
Skip to main content
vjleo94
Level 3
Dec 15, 2021 9:30 AM UTC
Solved

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

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
vjleo94
vjleo94Accepted solution
Level 3
Dec 15, 2021 12:44 PM UTC

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>

5 replies

lukasz-m
New Participant
Dec 15, 2021 12:27 PM UTC

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>
Translate
vjleo94
vjleo94AuthorAccepted solution
Level 3
Dec 15, 2021 12:44 PM UTC

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>

Translate
milind_bachani
Employee
Dec 15, 2021 12:13 PM UTC

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.

 

Translate
vjleo94
vjleo94Author
Level 3
Dec 15, 2021 12:21 PM UTC

Hi @pavan_kalyan-1 , @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

Translate
Pavan_Kalyan-1
Level 3
Dec 15, 2021 11:44 AM UTC

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

Translate