org.apache.sling.api.resource,version = [2.3,3)-无法解析 [英] org.apache.sling.api.resource,version=[2.3,3) -- Cannot be resolved
问题描述
您好,我无法访问我的项目的内容,我已经上传了从CQ访问内容所需的所有软件包。我唯一能看到的是
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)-无法解决
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版本5.6
推荐答案
该错误消息表示OSGi框架无法提供版本> = 2.3并且< org.apache.sling.api.resource
Java软件包中的3个,用于要导入的软件包B。
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.
结果是,捆绑包B无法激活,系统的某些部分无法正常工作。
As a result, bundle B cannot be activated, and parts of your system won't work.
查看webconsole(在Sling和CQ中默认为 / system / console
下),您会看到此软件包由 org.apache提供。 sling.api软件包
,因此您的系统中有该软件包的旧版本,或者您安装了不兼容的软件包,需要该软件包的较新版本。
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.
这篇关于org.apache.sling.api.resource,version = [2.3,3)-无法解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!