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
BedrockMission!

Learn More

View all

Sign in to view all badges

6.2 unresolved bundles

Avatar

Avatar
Level 2
lebom50735824
Level 2

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
lebom50735824
Level 2

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
View profile
lebom50735824
Level 2

20-02-2017

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

Replies

Avatar

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

113 likes

Total Posts

395 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

113 likes

Total Posts

395 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
Level 7

20-02-2017

Hi ,
 

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

 

~ Prince Shivhare

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

20-02-2017

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. 

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

20-02-2017

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. 

Avatar

Avatar
Level 2
lebom50735824
Level 2

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
lebom50735824
Level 2

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
View profile
lebom50735824
Level 2

21-02-2017

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>

Avatar

Avatar
Level 2
lebom50735824
Level 2

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
lebom50735824
Level 2

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
View profile
lebom50735824
Level 2

22-02-2017

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>

Avatar

Avatar
Level 2
lebom50735824
Level 2

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
lebom50735824
Level 2

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
View profile
lebom50735824
Level 2

22-02-2017

In our current 6.1 version, there is a bundle with the following details:

Day Communique 5 Commons Library com.day.cq.cq-commons
Symbolic Name    com.day.cq.cq-commons
Version    5.7.18
Bundle Location    fileinstallpatch:/cq-commons-5.7.14.jar
Last Modification    Thu May 21 20:35:39 SAST 2015
Bundle Documentation    http://www.adobe.com/
Vendor    Adobe Systems Incorporated
Description    Bundle implementing the common functionality for the Communique 5 platform
Start Level    20
Exported Packages    com.day.cq.commons,version=5.7.0
com.day.cq.commons.date,version=5.7.0
com.day.cq.commons.feed,version=5.7.0
com.day.cq.commons.folderpreview,version=5.7.18
com.day.cq.commons.inherit,version=5.7.0
com.day.cq.commons.jcr,version=5.7.0
com.day.cq.commons.mail,version=5.7.0
com.day.cq.commons.predicate,version=5.7.0
com.day.cq.commons.servlets,version=5.7.0
com.day.cq.commons.thumbnail,version=5.7.0
Imported Packages    com.adobe.granite.license,version=1.1.0 from com.adobe.granite.license (44)
com.day.cq.i18n,version=5.4.0 from com.day.cq.cq-i18n (138)
com.day.cq.replication,version=5.16.0 from com.day.cq.cq-replication (151)

that resolves :

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

but in 6.2 the bundle is not there. What bundle can I use in 6.2 to resolve the unresolvable packages above? 

Avatar

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

113 likes

Total Posts

395 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

113 likes

Total Posts

395 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
Level 7

22-02-2017

Hi,

Please try to remove  <classifier>obfuscated-apis</classifier>.

and check again.

 

~ Prince

Avatar

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

113 likes

Total Posts

395 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

113 likes

Total Posts

395 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
Level 7

22-02-2017

you can also try.

In the parent pom.xml:

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

Core Pom file:
<dependency>
                  <groupId>com.adobe.aem</groupId>
                  <artifactId>uber-jar</artifactId>
                  <classifier>apis</classifier>
            </dependency>

UI Pom file:
<dependency>
                  <groupId>com.adobe.aem</groupId>
                  <artifactId>uber-jar</artifactId>
                  <classifier>apis</classifier>
            </dependency>

 

~ Prince

Avatar

Avatar
Validate 10
Level 4
Gdubz-57m2mu
Level 4

Likes

41 likes

Total Posts

123 posts

Correct Reply

9 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 10
Level 4
Gdubz-57m2mu
Level 4

Likes

41 likes

Total Posts

123 posts

Correct Reply

9 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile
Gdubz-57m2mu
Level 4

22-02-2017

Prince Shivhare wrote...

you can also try.

In the parent pom.xml:

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

 

Wouldn't they need to manually install the unobfuscated JARs into their local .m2 repo if they used this dependency?