Expand my Community achievements bar.

Issues While Upgrading AEM to Service Pack 6.5.23.0

Avatar

Level 2

After installing latest service package 6.5.23.0
In console/bundles below bundle is installed state.
SARB Project - sarb-internet-site Bundleza.co.sarb.internet-site.core - Installed not active

 

Nagendrababu_0-1762932520131.png

org.apache.xmlbeans,version=[2.0,3) -- Cannot be resolved

Nagendrababu_1-1762932576453.png

 

can you pls, kindly share the details or reference links.

Thanks,
Nagendra

2 Replies

Avatar

Level 10

If SARB core is your project repository, have you checked if org.apache.xmlbeans is listed as a dependency? If so, you should upload it to the version inside AEM.

 

Also, have you updated in your project pom.xml the dependency to match the new AEM version?

<!-- https://mvnrepository.com/artifact/com.adobe.aem/uber-jar -->
<dependency>
    <groupId>com.adobe.aem</groupId>
    <artifactId>uber-jar</artifactId>
    <version>6.5.23</version>
    <scope>provided</scope>
</dependency>

 

I don't have an AEM 6.5.23 instance to check myself, but in AEMasCS I can see version 5.1.1 of org.apache.xmlbeans:

org.apache.xmlbeans,version=5.1.1 from com.adobe.granite.poi (112)
org.apache.xmlbeans.impl.schema,version=5.1.1 from com.adobe.granite.poi (112)
org.apache.xmlbeans.impl.values,version=5.1.1 from com.adobe.granite.poi (112)

 

Avatar

Employee

Hello @Nagendrababu 

In AEM 6.5.23.0, the com.adobe.granite.poi bundle exports:

org.apache.xmlbeans, version=5.1.1

 

Your custom bundle za.co.sarb.internet-site.core is currently importing

org.apache.xmlbeans, version=[2.0,3)


To resolve :

  • Update your code (or dependencies) to use org.apache.xmlbeans version 5.1.1, which is what AEM 6.5.23 provides OOTB
  • In your OSGi bundle’s Import-Package statement (or Maven configuration), set:
    org.apache.xmlbeans;version="[5.1,6)"​