Adobe CQ5,版本 5.5.0
com.day.cq.commons,version=[5.7,6) -- Cannot be resolved
com.day.cq.commons.jcr,version=[5.7,6) -- Cannot be resolved
com.day.cq.dam.api,version=[1.2,2) -- Cannot be resolved
com.day.cq.replication,version=[5.15,6) -- Cannot be resolved
com.day.cq.wcm.api,version=[1.2,2) -- Cannot be resolved
com.day.cq.wcm.api.components,version=[5.7,6) -- Cannot be resolved
com.day.cq.wcm.api.designer,version=[5.7,6) -- Cannot be resolved
org.apache.sling.api,version=[2.3,3) -- Cannot be resolved
org.apache.sling.api.resource,version=[2.5,3) -- Cannot be resolved
org.apache.sling.api.wrappers,version=[2.5,3) -- Cannot be resolved
org.apache.sling.commons.scheduler,version=[2.3,3) -- Cannot be resolved
例如:
我org.apache.sling.api <version>2.7.0</version>
在 pom.xml 中使用并看到这个错误org.apache.sling.api,version=[2.3,3) -- Cannot be resolved
-
我发现了类似的问题,如果按照下一个答案,我做的一切都是正确的 - 但我有同样的错误
该错误消息意味着 OSGi 框架无法为想要导入它的包 B 提供版本 >= 2.3 和 < 3 的 org.apache.sling.api.resource Java 包。
有谁知道如何解决这些错误?