Expand my Community achievements bar.

SOLVED

AEM bundle not starting

Avatar

Level 2

i a trying to install Google Oauth custom provider bundle, after installing bundle i see it is not starting and the error shown in the console is below. I am using AEM 6.5 , i am folowing the github repo https://github.com/techforum-repo/bundles.git

 

 com.adobe.granite.auth.oauth,version=[3.12,4) -- Cannot be resolved
com.adobe.granite.security.user,version=[1.11,2) -- Cannot be resolved
javax.annotation,version=0.0.0 from org.apache.geronimo.specs.geronimo-annotation_1.3_spec (3)
javax.jcr,version=[2.0,3) from org.apache.sling.jcr.jcr-wrapper (141)
org.apache.jackrabbit.api.security.user,version=[2.4,3) from org.apache.jackrabbit.jackrabbit-api (132)
org.apache.sling.api,version=[2.3,3) from org.apache.sling.api (77)
org.apache.sling.api.resource,version=[2.13,3) -- Cannot be resolved
org.json,version=[20090211.0,20090212) from com.adobe.granite.bundles.json (50)
org.osgi.service.component,version=[1.4,2) from org.apache.felix.scr (42)
org.scribe.builder.api,version=[1.3,2) from com.adobe.granite.scribe (273)
org.scribe.extractors,version=[1.3,2) from com.adobe.granite.scribe (273)
org.scribe.model,version=[1.3,2) from com.adobe.granite.scribe (273)
org.scribe.oauth,version=[1.3,2) from com.adobe.granite.scribe (273)
org.slf4j,version=[1.7,2) from slf4j.api (23)

1 Accepted Solution

Avatar

Correct answer by
Level 2

Thanks, the issue is resolved after install cloud version of AEM SDK , i had 6.5 previsouly which needs some change in POM  which i dont need to do now

View solution in original post

2 Replies

Avatar

Community Advisor

This error is due to dependencies missing or outdated in your code.

  • Can you check your core bundle to see which version of sling.api you have currently. It must be an old one.
  • To fix this, you would need to update your uber-jar in pom.xml

Avatar

Correct answer by
Level 2

Thanks, the issue is resolved after install cloud version of AEM SDK , i had 6.5 previsouly which needs some change in POM  which i dont need to do now