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,
Solved! Go to Solution.
Views
Replies
Total Likes
In your pom just include the dependency you find through depfinder and rebuild your bundle and try....
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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>
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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.
Thanks,
Views
Replies
Total Likes
Nope.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
In your pom just include the dependency you find through depfinder and rebuild your bundle and try....
Views
Replies
Total Likes
Views
Likes
Replies