org.apache.jackrabbit.api.jsr283.security -- Cannot be resolved | Community
Skip to main content
New Participant
April 14, 2017
Solved

org.apache.jackrabbit.api.jsr283.security -- Cannot be resolved

  • April 14, 2017
  • 8 replies
  • 3313 views

Hi, 

I am using CQ5.6 and Maven to build my codebase. Build goes well, but after I look at the bundle state, this shows installed. 

org.apache.jackrabbit.api.jsr283.security -- Cannot be resolved
 

 

IN which repo, I can find this missing dependancy. Any help
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 vjetty

In your pom just include the dependency you find through depfinder and rebuild your bundle and try.... 

8 replies

vjetty
vjettyAccepted solution
New Participant
April 14, 2017

In your pom just include the dependency you find through depfinder and rebuild your bundle and try.... 

vdhim23Author
New Participant
April 14, 2017

vjetty wrote...

Nope. 

 

I am using maven as a build tool for my project.Thus manifest.mf will be created through maven-bundle-plugin each time bundle gets build. In that case, which are the changes can be made in pom or any other file.

vjetty
New Participant
April 14, 2017

Nope. 

vdhim23Author
New Participant
April 14, 2017

vjetty wrote...

Hi, Vdhim

I suggest you to find the right dependency using dependency finder.

http://localhost:4502/system/console/depfinder

And if that didn't worked, in your manifest.mf file remove version=[1.5,2) then try uploading the bundle. 

Thanks,

Vamsi

 

 

HI,

I have added the same dependancy that I am getting through http://localhost:4502/system/console/depfinder with version 2.5.3 in CQ5.6.

Now, If I do rempval of dependancy information from manifest.mf manually, then do I have to perform this step after every build?

Thanks,

Ratna_Kumar
New Participant
April 14, 2017

Hi,

Yes, Vamsi is correct. I have found this below dependency in http://localhost:4502/system/console/depfinder

<dependency>
    <groupId>org.apache.jackrabbit</groupId>
    <artifactId>jackrabbit-api</artifactId>
    <version>2.6.2</version>
    <scope>provided</scope>
</dependency>

And also remove version in manifest.mf file as it conflict soemtimes.

Hope this helps!

~ Ratna.

vjetty
New Participant
April 14, 2017

Hi, Vdhim

I suggest you to find the right dependency using dependency finder.

http://localhost:4502/system/console/depfinder

And if that didn't worked, in your manifest.mf file remove version=[1.5,2) then try uploading the bundle. 

Thanks,

Vamsi

vdhim23Author
New Participant
April 14, 2017

Ratna Kumar wrote...

Hi,

Can you please try to add this below dependency

<dependency>
    <groupId>org.apache.jackrabbit</groupId>
    <artifactId>jackrabbit-api</artifactId>
    <version>2.6.2</version>
    <scope>provided</scope>
</dependency>

Please let me know, whether it works.

~ Ratna.

 

 

Adding this caused the issue in other bundle as well:

org.apache.jackrabbit.api,version=[1.5,2) -- Cannot be resolved
org.apache.jackrabbit.api.security.user,version=[1.5,2) -- Cannot be resolved

Dependancy that i was using intially: 

<!-- https://mvnrepository.com/artifact/org.apache.jackrabbit/jackrabbit-api --><dependency>   <groupId>org.apache.jackrabbit</groupId>   <artifactId>jackrabbit-api</artifactId>   <version>2.5.2</version>   <scope>provided</scope></dependency>
Ratna_Kumar
New Participant
April 14, 2017

Hi,

Can you please try to add this below dependency

<dependency>
    <groupId>org.apache.jackrabbit</groupId>
    <artifactId>jackrabbit-api</artifactId>
    <version>2.6.2</version>
    <scope>provided</scope>
</dependency>

Please let me know, whether it works.

~ Ratna.