OSGI bundle is not Active due to dependencies of core API | Community
Skip to main content
Level 3
October 16, 2015
Solved

OSGI bundle is not Active due to dependencies of core API

  • October 16, 2015
  • 1 reply
  • 1378 views

I have created a project and installed in Felix console using maven.

But the bundle is not in Active status. It is in Installed status. I have gone through this bundle and found that the below APIs are nor resolved

com.day.cq.dam.api,version=[1.2,2) -- Cannot be resolved
com.day.cq.dam.commons.process,version=[1.1,2) -- Cannot be resolved
com.day.cq.dam.commons.util,version=[1.2,2) -- Cannot be resolved

I have included com.day.cq in pom.xml. Here is my dependency part

         <dependency>

              <groupId>com.day.cq</groupId>

               <artifactId>cq-security-api</artifactId>

          </dependency>

cq-dam-core-5.5.0 jar file is also downloaded in maven repository folder.

Could you please guide me to resolve this issue?

 

Thanks

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

Your issue is the version. The APIs are part of the service container. You can get the version of these using dependency finder. This will provide you with the exact version you need. See

http://labs.sixdimensions.com/blog/2012-05-04/new-cq-55-dependency-finder/

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

Your issue is the version. The APIs are part of the service container. You can get the version of these using dependency finder. This will provide you with the exact version you need. See

http://labs.sixdimensions.com/blog/2012-05-04/new-cq-55-dependency-finder/