com.day.cq.dam.core -- Cannot be resolved in AEM 6.4

Avatar

Avatar
Validate 10
Level 2
rajs73651622
Level 2

Likes

4 likes

Total Posts

42 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
rajs73651622
Level 2

Likes

4 likes

Total Posts

42 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile
rajs73651622
Level 2

17-05-2019

How to resolve the below issue and in http://localhost:4502/system/console/depfinder  alos there is no" No maven information available"

1754861_pastedImage_0.png

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 5
Employee
Andrew_Khoury
Employee

Likes

75 likes

Total Posts

93 posts

Correct reply

33 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile

Avatar
Give Back 5
Employee
Andrew_Khoury
Employee

Likes

75 likes

Total Posts

93 posts

Correct reply

33 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile
Andrew_Khoury
Employee

21-05-2019

rajs73651622​ I see the problem, that article you referenced is outdated.  The class has been moved from

cq-dam-core bundle to cq-dam-commons, see here AbstractAssetHandler

Also, I would suggest using the uber-jar for your AEM version instead of using separate dependencies.  See here for how to set up a proper project:

How to Build AEM Projects using Apache Maven

Answers (9)

Answers (9)

Avatar

Avatar
Validate 10
Level 2
rajs73651622
Level 2

Likes

4 likes

Total Posts

42 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
rajs73651622
Level 2

Likes

4 likes

Total Posts

42 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile
rajs73651622
Level 2

22-05-2019

Hi Andrew,

Thanks for ur reply and taking me in a correct direction.

Its working fine now.

Regards,

Raj

Avatar

Avatar
Validate 10
Level 2
rajs73651622
Level 2

Likes

4 likes

Total Posts

42 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
rajs73651622
Level 2

Likes

4 likes

Total Posts

42 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile
rajs73651622
Level 2

20-05-2019

Hi Joerg,

Thanks for looking into this issue.

I am following the below link to develop a text handler but there r some changes to text handler as per our requirement .

Processing Assets Using Media Handlers and Workflows .

Here in the above link in pom.xml  it is used the blow version but in "http://repo.adobe.com/nexus/content/groups/public/"

the below version is not available so i used <version>5.3.0</version>.

          <dependency>

            <groupId>com.day.cq.dam</groupId>

            <artifactId>cq-dam-core</artifactId>

            <version>5.2.10</version>

            <scope>provided</scope>

        </dependency>

Regards,

Raj

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

20-05-2019

Thanks!

Looks like there is no specific import version listed. But: My local AEM 6.4 instance does not export that Java package "com.day.cq.dam.core" at all (in no version). That explains at least the behavior of your AEM instance.

But that leaves the question: How do you create such a MANIFEST.MF? Do you port the code from an older AEM version to AEM 6.4? Was it running there properly? And then you might check that you don't have such import statements hardcoded in your pom.xml

Jörg

Avatar

Avatar
Validate 10
Level 2
rajs73651622
Level 2

Likes

4 likes

Total Posts

42 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
rajs73651622
Level 2

Likes

4 likes

Total Posts

42 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile
rajs73651622
Level 2

20-05-2019

Below is the MANIFEST.MF file

Export-Package: com.aem.community.core.filters;uses:="javax.servlet";ver

sion="1.0.0",com.aem.community.core.listeners;uses:="org.osgi.service.e

vent";version="1.0.0",com.aem.community.core.models;uses:="javax.annota

tion,javax.inject,org.apache.sling.api.resource,org.apache.sling.models

.annotations";version="1.0.0",com.aem.community.core;version="1.0";uses

:="com.day.cq.dam.api.metadata,com.day.cq.dam.core,javax.jcr",com.aem.c

ommunity.core.schedulers;version="1.0.0",com.aem.community.core.servlet

s;uses:="javax.servlet,org.apache.sling.api,org.apache.sling.api.servle

ts";version="1.0.0"

Import-Package: javax.inject;version="0.0.0",com.day.cq.dam.api.metadata

;version="[1.1,2)",com.day.cq.dam.core,com.day.cq.wcm.foundation;versio

n="[5.21,6)",com.day.image;version="[1.0,2)",com.day.image.font;version

="[1.0,2)",javax.annotation,javax.jcr;version="[2.0,3)",javax.servlet,o

rg.apache.commons.io;version="[1.4,2)",org.apache.sling.api;version="[2

.3,3)",org.apache.sling.api.request;version="[2.4,3)",org.apache.sling.

api.resource;version="[2.10,3)",org.apache.sling.api.servlets;version="

[2.2,3)",org.apache.sling.models.annotations;version="[1.4,2)",org.apac

he.sling.settings;version="[1.3,2)",org.osgi.service.event;version="[1.

3,2)",org.slf4j;version="[1.5,2)"

Provide-Capability: osgi.service;objectClass:List<String>="java.lang.Run

nable",osgi.service;objectClass:List<String>="javax.servlet.Filter",osg

i.service;objectClass:List<String>="javax.servlet.Servlet",osgi.service

;objectClass:List<String>="org.osgi.service.event.EventHandler"

Require-Capability: osgi.extender;filter:="(&(osgi.extender=osgi.compone

nt)(version>=1.3.0)(!(version>=2.0.0)))",osgi.ee;filter:="(&(osgi.ee=Ja

vaSE)(version=1.8))"

Service-Component: OSGI-INF/com.aem.community.core.filters.LoggingFilter

.xml,OSGI-INF/com.aem.community.core.listeners.SimpleResourceListener.x

ml,OSGI-INF/com.aem.community.core.schedulers.SimpleScheduledTask.xml,O

SGI-INF/com.aem.community.core.servlets.SimpleServlet.xml

Sling-Model-Packages: com.aem.community.core

Tool: Bnd-3.3.0.201609221906

Avatar

Avatar
Validate 25
Level 4
Karl515
Level 4

Likes

14 likes

Total Posts

157 posts

Correct reply

11 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile

Avatar
Validate 25
Level 4
Karl515
Level 4

Likes

14 likes

Total Posts

157 posts

Correct reply

11 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
Karl515
Level 4

19-05-2019

try

<server>:<port>/system/console/status-productinfo

1755897_pastedImage_0.png

then try

1755898_pastedImage_1.png

depending on your version

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

19-05-2019

Can you provide us the complete MANIFEST.MF file of that bundle? It should include the package version of the dam.core bundle which has been used during compilation.

Avatar

Avatar
Validate 10
Level 2
rajs73651622
Level 2

Likes

4 likes

Total Posts

42 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
rajs73651622
Level 2

Likes

4 likes

Total Posts

42 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile
rajs73651622
Level 2

17-05-2019

Can anybody help me on the below issue please i m new to AEM 6.4. In http://localhost:4502/system/console/depfinder  also there is no" No maven information available".

1755083_pastedImage_0.png

Avatar

Avatar
Validate 10
Level 2
rajs73651622
Level 2

Likes

4 likes

Total Posts

42 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
rajs73651622
Level 2

Likes

4 likes

Total Posts

42 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile
rajs73651622
Level 2

17-05-2019

I m using the below dependency to uber jar for AEM 6.4.

<dependency>

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

    <artifactId>uber-jar</artifactId>

    <version>6.4.0</version>

    <classifier>apis</classifier>

    <scope>provided</scope>

</dependency>

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

17-05-2019

Check if you are using the latest uber jar. For Example, If this is AEM 6.5, make sure you are using the following dependency:

<!-- https://mvnrepository.com/artifact/com.adobe.aem/uber-jar -->

<dependency>

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

    <artifactId>uber-jar</artifactId>

<version>6.5.0.0</version>

    <type>pom</type>

    <scope>provided</scope>

</dependency>