要求com.adobe.granite.xss在bundle start上找不到,但是暴露了

时间:2015-08-17 16:29:52

标签: xss aem osgi-bundle

由于我们从CQ5.6.1迁移到AEM6.1,因此我们在启动捆绑包时遇到了一些困难:

17.08.2015 16:23:26.385 *ERROR* [qtp2140358820-67] org.apache.felix.http.jetty %bundles.pluginTitle: Cannot start (org.osgi.framework.BundleException: Unresolved constraint in bundle com.mybundle.core [477]: Unable to resolve 477.0: missing requirement [477.0] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.granite.xss)(version>=1.0.0)(!(version>=2.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle com.mybundle.core [477]: Unable to resolve 477.0: missing requirement [477.0] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.granite.xss)(version>=1.0.0)(!(version>=2.0.0)))

但是,当我查看捆绑控制台时,在" Adob​​e Granite XSS Protection(com.day.cq.cq-xssprotection)"我看到正确的导出版本:

Exported Packages   com.adobe.granite.xss,version=1.1.0
com.day.cq.xss,version=5.4.0
com.day.cq.xss.taglib,version=5.4.0
org.apache.sling.xss,version=1.0.0

问题似乎是随机的(完全相同的代码和AEM版本和java版本在另一台PC上运行良好)

有人遇到过同样的问题吗?

0 个答案:

没有答案