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

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

Mark Solution

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

해결됨

Missing dependencies abc:abc.ui.apps required dependencies missing: [adobe/cq60:core.wcm.components.content:2.7.0, adobe/cq60:core.wcm.components.config:2.7.0]

Avatar

Level 1

Hi Team,

I am getting the following error while installing packages to the VM server.

Installing content
FATAL: org.apache.jackrabbit.vault.packaging.DependencyException: Refusing to install package project-ui.apps:1.0-SNAPSHOT. required dependencies missing: [adobe/cq60:core.wcm.components.content:2.7.0, adobe/cq60:core.wcm.components.config:2.7.0]

I have the ui.apps pom file in which these dependencies are already mentioned. Please refer to the following image.

 

dependencies-issue.png

Any suggestions?

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

you need to add those package as depency in your ui.apps/pom.xml

e.g.

 

<dependency>
            <groupId>com.abc</groupId>
            <artifactId>com.abc.core</artifactId>
            <version>1.0-SNAPSHOT</version>
        </dependency>


        <dependency>
            <groupId>com.adobe.cq</groupId>
            <artifactId>core.wcm.components.core</artifactId>
        </dependency>


        <dependency>
            <groupId>com.adobe.cq</groupId>
            <artifactId>core.wcm.components.content</artifactId>
            <type>zip</type>
        </dependency>

        <dependency>
            <groupId>com.adobe.cq</groupId>
            <artifactId>core.wcm.components.config</artifactId>
            <type>zip</type>
        </dependency>

 

Arun Patidar

AEM LinksLinkedIn

원본 게시물의 솔루션 보기

4 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

you need to add those package as depency in your ui.apps/pom.xml

e.g.

 

<dependency>
            <groupId>com.abc</groupId>
            <artifactId>com.abc.core</artifactId>
            <version>1.0-SNAPSHOT</version>
        </dependency>


        <dependency>
            <groupId>com.adobe.cq</groupId>
            <artifactId>core.wcm.components.core</artifactId>
        </dependency>


        <dependency>
            <groupId>com.adobe.cq</groupId>
            <artifactId>core.wcm.components.content</artifactId>
            <type>zip</type>
        </dependency>

        <dependency>
            <groupId>com.adobe.cq</groupId>
            <artifactId>core.wcm.components.config</artifactId>
            <type>zip</type>
        </dependency>

 

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 1
@arjun_Patidar: I have added both dependencies in ui.apps/pom.xml as well also added core module as a dependency in ui.apps/pom xml file. I am running jenkins CRX Content Package Deployer plugin to deploy the package on VM machine. Build is showing success but while deployment I am getting this log.: Package uploaded Will attempt to install package. Installing content FATAL: org.apache.jackrabbit.vault.packaging.DependencyException: Refusing to install package

Avatar

Employee Advisor

Adding to Arun's update , Try using the latest archetype and the core components dependency should be automatically included in the POM file.

Avatar

Level 1
I have compare the latest archetype but there is not much difference other than project specific.