Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

samsundar23
Level 4
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
VikramGaur
Correct answer by
Employee
Employee

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

0 Replies
SureshDhulipudi
Community Advisor
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

samsundar23
Level 4
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

samsundar23
Level 4
Level 4

Hello @VikramGaur 

 

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

VikramGaur
Correct answer by
Employee
Employee

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

samsundar23
Level 4
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.