Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

OSGI bundle is not Active due to dependencies of core API

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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/

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

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/