org.apache.sling.api.resource,version=[2.3,3) — Cannot be resolved

风格不统一 提交于 2019-12-24 03:07:15

问题


Hi I am not able to access content of my project, I have uploaded all the packages which are required to access content from CQ. Only thing I can see is

org.apache.sling.api.resource,version=[2.3,3) -- Cannot be resolved

Can this be the reason for exception and if yes please let me know how to resolve it.

CQ version 5.6


回答1:


The error message means that the OSGi framework is unable to supply a version >= 2.3 and < 3 of the org.apache.sling.api.resource Java package for a bundle B that wants to import it.

As a result, bundle B cannot be activated, and parts of your system won't work.

Looking at the webconsole (under /system/console by default in Sling and CQ) you can see that this package is provided by the org.apache.sling.api bundle, so either you have an old version of that bundle in your system, or you have installed incompatible bundles that require a newer version of that package.



来源:https://stackoverflow.com/questions/20278236/org-apache-sling-api-resource-version-2-3-3-cannot-be-resolved

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!