6.2 unresolved bundles | Community
Skip to main content
lebom50735824
Level 2
Feb 20, 2017 3:32 PM UTC

6.2 unresolved bundles

Hi,

I've just installed AEM 6.2 in our environment and installed an AEM 6.1 package on it. I using the Uber APIs but the following can't resolve :

com.day.cq.commons,version=[6.0,7) -- Cannot be resolved
com.day.cq.commons.date,version=[5.7,6) -- Cannot be resolved
com.day.cq.commons.inherit,version=[5.7,6) -- Cannot be resolved
com.day.cq.commons.jcr,version=[6.0,7) -- Cannot be resolved
com.day.cq.commons.mail,version=[5.7,6) -- Cannot be resolved

Any idea on how to resolve these?

lebom

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

11 replies

smacdonald2008
Level 10
Feb 20, 2017 6:18 PM UTC

Rebuild your OSGi using Maven 10 Archetype and Urber 6,2 -- see: 

https://helpx.adobe.com/experience-manager/using/first-arch10.html

Notice the use of Urber 6.2 in the POM file. 

Translate
smacdonald2008
Level 10
Feb 20, 2017 6:20 PM UTC

If you still get that error - use depen finder in AEM and get the correct version in AEM for this package, Make sure you specify that package in your POM. 

But the most important thing is to use the 6.2 Urber version in your POM file for AEM 6.2. 

Translate
lebom50735824
Level 2
Feb 21, 2017 2:34 PM UTC

The error I now get is : "Failed to execute goal org.apache.felix:maven-scr-plugin:1.17.0:scr (generate-scr-scrdescriptor) on project suninternational-main.core: Execution generate-scr-scrdescriptor of goal org.apache.felix:maven-scr-plugin:1.17.0:scr failed: An API incompatibility was encountered while executing org.apache.felix:maven-scr-plugin:1.17.0:scr: java.lang.VerifyError: Constructor must call super() or this() before return".

I have this in my POM files:

Parent

<dependency>
                <groupId>com.adobe.aem</groupId>
                <artifactId>uber-jar</artifactId>
                <version>6.2.0</version>
                <classifier>obfuscated-apis</classifier>
                <scope>provided</scope>

</dependency>

Core

<dependency>
            <groupId>com.adobe.aem</groupId>
            <artifactId>uber-jar</artifactId>
            <classifier>obfuscated-apis</classifier>
        </dependency>

UI

<dependency>
            <groupId>com.adobe.aem</groupId>
            <artifactId>uber-jar</artifactId>
            <classifier>obfuscated-apis</classifier>
        </dependency>

Translate
Prince_Shivhare
New Participant
Feb 20, 2017 3:42 PM UTC

Hi ,
 

Please let us know which dependency you added in POM file.

 

~ Prince Shivhare

Translate