Imported package not resolved in Bundle

Avatar

Avatar

Archana_VA_007

Avatar

Archana_VA_007

Archana_VA_007

29-01-2021

 There are few bundles are not resolved after deploy to local server 

com.bea.xml.stream -- Cannot be resolved
com.ctc.wstx.stax -- Cannot be resolved

com.google.crypto.tink.subtle -- Cannot be resolved
com.ibm.xml.xlxp.api.stax -- Cannot be resolved and overwritten by Boot Delegation
com.jcraft.jzlib -- Cannot be resolved
com.microsoft.applicationinsights.agent.internal.sdk -- Cannot be resolved
com.microsoft.applicationinsights.core.dependencies.codehaus.jettison -- Cannot be resolved
com.microsoft.applicationinsights.core.dependencies.codehaus.jettison.mapped -- Cannot be resolved
com.microsoft.applicationinsights.core.dependencies.google.protobuf.nano -- Cannot be resolved
com.ning.compress -- Cannot be resolved
com.ning.compress.lzf -- Cannot be resolved
com.ning.compress.lzf.util -- Cannot be resolved
com.opensymphony.xwork2 -- Cannot be resolved
com.opensymphony.xwork2.interceptor -- Cannot be resolved

javax.interceptor -- Cannot be resolved

lzma.sdk -- Cannot be resolved
lzma.sdk.lzma -- Cannot be resolved
net.jpountz.lz4 -- Cannot be resolved
net.jpountz.xxhash -- Cannot be resolved

net.sf.cglib.proxy -- Cannot be resolved
nu.xom -- Cannot be resolved
org.apache.avalon.framework.logger -- Cannot be resolved
org.apache.log -- Cannot be resolved
org.apache.logging.log4j -- Cannot be resolved
org.apache.logging.log4j.message -- Cannot be resolved
org.apache.logging.log4j.spi -- Cannot be resolved
org.conscrypt -- Cannot be resolved
org.dom4j -- Cannot be resolved
org.dom4j.io -- Cannot be resolved
org.dom4j.tree -- Cannot be resolved
org.eclipse.jetty.alpn -- Cannot be resolved
org.eclipse.jetty.npn -- Cannot be resolved
org.glowroot.instrumentation.api -- Cannot be resolved
org.jboss.marshalling -- Cannot be resolved
org.jboss.vfs -- Cannot be resolved
org.jdom -- Cannot be resolved
org.jdom.input -- Cannot be resolved
org.jdom2 -- Cannot be resolved
org.jdom2.input -- Cannot be resolved
org.kxml2.io -- Cannot be resolved

org.springframework.boot.autoconfigure.condition -- Cannot be resolved
org.springframework.boot.context.embedded -- Cannot be resolved
org.springframework.boot.web.servlet -- Cannot be resolved
org.springframework.context.annotation -- Cannot be resolved
org.springframework.web.method -- Cannot be resolved
org.springframework.web.servlet -- Cannot be resolved
org.springframework.web.servlet.config.annotation -- Cannot be resolved
org.springframework.web.servlet.handler -- Cannot be resolved

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Bhuwan_B

Avatar

Bhuwan_B

Bhuwan_B

29-01-2021

Update unsatisfied dependencies in red color with supported version maven dependencies in pom.xml

Reference : https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/cannot-resolve-imported-pa...

 

Answers (1)

Answers (1)

Avatar

Avatar

KiranVedantam1992

Avatar

KiranVedantam1992

KiranVedantam1992

29-01-2021

Hi @Archana_VA_007,

 

As per the below error, you can do three things:

  1. Check the bundles that are not resolved in your local server. If the version is old, update the dependencies in your pom.xml to the latest
  2. If the bundles are missing, you can install them manually by downloading them. Just search like this: bundle name + download
    1. Ex: org.conscrypt bundle download
  3. If you want them to be installed via your code, you need to mention that explicitly in your ui.apps pom.xml in the embedded section. This will install the bundle every time on the build.

 

Hope this helps.

 

Thanks,

Kiran Vedantam.