[
https://issues.apache.org/jira/browse/SLING-5062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907298#comment-14907298
]
Venkat Ganesh commented on SLING-5062:
--------------------------------------
I saw this error in the console:
Attempting to load validation.properties via the classpath.
SUCCESSFULLY LOADED validation.properties via the CLASSPATH from '/ (root)'
using class loader for DefaultSecurityConfiguration class!
24.09.2015 16:48:39.886 *ERROR* [FelixStartLevel] ERROR: Error
starting/stopping bundle. (org.osgi.framework.BundleException: Unable to
resolve org.apache.sling.distribution.core [118](R 118.0): missing requirement
[org.apache.sling.distribution.core [118](R 118.0)] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.jackrabbit.vault.fs.api)(version>=2.4.0)(!(version>=3.0.0)))
Unresolved requirements: [[org.apache.sling.distribution.core [118](R 118.0)]
osgi.wiring.package;
(&(osgi.wiring.package=org.apache.jackrabbit.vault.fs.api)(version>=2.4.0)(!(version>=3.0.0)))])
org.osgi.framework.BundleException: Unable to resolve
org.apache.sling.distribution.core [118](R 118.0): missing requirement
[org.apache.sling.distribution.core [118](R 118.0)] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.jackrabbit.vault.fs.api)(version>=2.4.0)(!(version>=3.0.0)))
Unresolved requirements: [[org.apache.sling.distribution.core [118](R 118.0)]
osgi.wiring.package;
(&(osgi.wiring.package=org.apache.jackrabbit.vault.fs.api)(version>=2.4.0)(!(version>=3.0.0)))]
at
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4114)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2111)
at org.apache.felix.framework.Felix.setBundleStartLevel(Felix.java:1557)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:338)
at java.lang.Thread.run(Thread.java:745)
vault.version is 3.0.0:
/Users/vganesh/git/slingClone/sling/contrib/extensions/distribution/core
$ find ~/git/slingClone/ -name pom.xml -exec grep vault.version {} \;
2>/dev/null
<version>${vault.version}</version>
<version>${vault.version}</version>
<vault.version>3.0.0</vault.version>
/Users/vganesh/git/slingClone/sling/contrib/extensions/distribution/core
> Apache Sling Distribution Core bundle installation is not successful.
> ---------------------------------------------------------------------
>
> Key: SLING-5062
> URL: https://issues.apache.org/jira/browse/SLING-5062
> Project: Sling
> Issue Type: Bug
> Components: Distribution
> Reporter: Venkat Ganesh
> Attachments: ScreenShot1.png, ScreenShot2.png
>
>
> After I install from sling/contrib/extensions/distribution/core (downloaded
> from https://github.com/apache/sling ) , by running the command,
> mvn -PautoInstallBundle clean install
> -Dsling.url=http://localhost:8080/system/console
> the build is successful. However, when I go to
> http://localhost:8080/system/console/bundles for
> org.apache.sling.distribution.core, the error is shown below.
> What do I need to resolve these issues?
> Thx,
> org.apache.jackrabbit.vault.fs.api,version=[2.4,3) -- Cannot be resolved
> org.apache.jackrabbit.vault.fs.config,version=[2.4,3) -- Cannot be resolved
> org.apache.jackrabbit.vault.fs.filter,version=[2.4,3) -- Cannot be resolved
> org.apache.jackrabbit.vault.fs.io,version=[2.4,3) -- Cannot be resolved
> org.apache.jackrabbit.vault.packaging,version=[2.4,3) -- Cannot be resolved
> ...
> org.apache.sling.hc.api,version=[1.0,2) -- Cannot be resolved
> org.apache.sling.hc.util,version=[1.0,2) -- Cannot be resolved
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)