내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

AEM 6.5 issue

Avatar

Level 2

I'm trying to run AEM 6.5 and this is what i am getting

com.day.cq.dam.commons.util,version=[1.50,2) -- Cannot be resolved

There is no content

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 5

You can add the maven dependency in your pom.xml and build and install the code in AEM

<dependency>
  <groupId>com.day.cq.dam</groupId>
  <artifactId>cq-dam-commons</artifactId>
  <version>5.6.6</version>
  <scope>provided</scope>
</dependency>

check if the issue still persist.

원본 게시물의 솔루션 보기

4 답변 개

Avatar

정확한 답변 작성자:
Level 5

You can add the maven dependency in your pom.xml and build and install the code in AEM

<dependency>
  <groupId>com.day.cq.dam</groupId>
  <artifactId>cq-dam-commons</artifactId>
  <version>5.6.6</version>
  <scope>provided</scope>
</dependency>

check if the issue still persist.

Avatar

Employee Advisor

Uber jar for 6.5 should already have "com.day.cq.dam" embedded. I would recommend using uber-jar instead of adding manual dependencies. More details at [1]

[1]  How to Build AEM Projects using Apache Maven

Avatar

Level 4

I agree, but even using the dependecy returned by depfinder,

<dependency>

    <artifactId>cq-dam-commons</artifactId>

    <version>5.12.54</version>

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

    <scope>provided</scope>

</dependency>

I am getting the same exception.

Avatar

Community Advisor

Could you please check the version of com.day.cq.dam coming from uber jar (check uber jar for 6.5).

And also check in your pom.xml files anywhere you might have added dependency for com.day.cq.dam the version for com.day.cq.dam should be same as uber jar.