Expand my Community achievements bar.

SOLVED

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

Avatar

Level 4

I'm upgrading SP7 to my AEM 6.5.

After updating uber-jar-6.5.7 in my pom.xml. I get the below error.

Kindly help.

 

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39.045 s
[INFO] Finished at: 2021-03-04T12:43:10+05:30
[INFO] Final Memory: 34M/397M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project temp.core: Compilation failure: Compilation failure:
[ERROR] /C:/CBA/my_LEGO/aem.temp-lego/bundles/core/src/main/java/com/temp/services/impl/DynamicMediaProcessorImpl.java:[7,39] package com.day.cq.dam.api.s7dam.scene7 does not exist
[ERROR] /C:/CBA/my_LEGO/aem.temp-lego/bundles/core/src/main/java/com/temp/services/impl/DynamicMediaProcessorImpl.java:[38,13] cannot find symbol
[ERROR] symbol: class ImageUrlApi
[ERROR] location: class com.temp.services.impl.DynamicMediaProcessorImpl
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

6.5
1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,
Welcome to AEM Community.

I hope you have download the latest uber.jar from Maven central after upgrading to AEM 6.5.7

You may try adding this dependency

<------

<dependency>

      <groupId>com.adobe.aem</groupId>

      <artifactId>uber-jar</artifactId>

      <version>6.5.7</version>

       <scope>provided</scope>

</dependency>

------>

View solution in original post

6 Replies

Avatar

Community Advisor

check this class - DynamicMediaProcessorImpl and resolve the package com.day.cq.dam.api.s7dam.scene7

If you are using any IDE, it will give you option to import/resolve/fix project set up

or you can try, just mvn clean install to import all dependencies

Avatar

Level 4

Hi @Suresh,

 

DynamicMediaProcessorImpl is the process which is using this class and I get the error after upgrading uber-jar from 6.5.1 to 6.5.7.

During uber-jar 6.5.1, there isn't any problem.

Do I need to add any dependency after updating uber-jar 6.5.7 ?
If so, please let me know.

 

Thanks

SHYAMSUNDAR TK

Avatar

Level 4

Hello @Vikram_Gaur_ 

 

My uber-jar changes are already part of my pom.xml

My primary problem has been after the upgrade to uber-jar-6.5.7 where I see the error in DynamicMediaProcessorImpl.java

 

Thanks

SHYAMSUNDAR TK

Avatar

Correct answer by
Employee Advisor

Hi,
Welcome to AEM Community.

I hope you have download the latest uber.jar from Maven central after upgrading to AEM 6.5.7

You may try adding this dependency

<------

<dependency>

      <groupId>com.adobe.aem</groupId>

      <artifactId>uber-jar</artifactId>

      <version>6.5.7</version>

       <scope>provided</scope>

</dependency>

------>

Avatar

Level 4

Hello, 

My uber-jar changes are already part of my pom.xml

My primary problem has been after the upgrade to uber-jar-6.5.7.

Avatar

Level 4

Hi,

 

Did you get this fixed? I am facing the same problem with 6.5.11 uber jar

 

Thanks,

Vijay