我正在将网站从 AEM 5.6.1 迁移到 6.3 或 6.5。我必须使用就地升级来完成此操作。我尝试对在 5.6.1 上默认创建的演示站点 Geometrix 运行测试迁移,但没有成功。以下是我执行的步骤:
我在控制台上收到多个错误。服务器根本不工作, 我无法打开登录页面或/system/console
以下是日志:
27.07.2021 14:20:07.588 *INFO * [main] Starting launcher ...
27.07.2021 14:20:07.588 *INFO * [Apache Sling Control Listener@/127.0.0.1:62342] Apache Sling Control Listener started
27.07.2021 14:20:07.596 *INFO * [main] HTTP server port: 4502
27.07.2021 14:20:09.118 *ERROR* [FelixStartLevel] ERROR: Bundle '1' Error starting slinginstall:org.apache.sling.javax.activation-0.1.0.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.javax.activation [1](R 1.0): missing requirement [org.apache.sling.javax.activation [1](R 1.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.apache.sling.javax.activation [1](R 1.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))])
org.osgi.framework.BundleException: Unable to resolve org.apache.sling.javax.activation [1](R 1.0): missing requirement [org.apache.sling.javax.activation [1](R 1.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.apache.sling.javax.activation [1](R 1.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
27.07.2021 14:20:09.120 *ERROR* [FelixStartLevel] ERROR: Bundle '2' Error starting slinginstall:slf4j-api-1.6.4.jar (org.osgi.framework.BundleException: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))])
org.osgi.framework.BundleException: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
27.07.2021 14:20:09.122 *ERROR* [FelixStartLevel] ERROR: Bundle '3' Error starting slinginstall:org.apache.sling.settings-1.2.2.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.settings [3](R 3.1): missing requirement [org.apache.sling.settings [3](R 3.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.apache.sling.settings [3](R 3.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.apache.sling.settings [3](R 3.1): missing requirement [org.apache.sling.settings [3](R 3.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.apache.sling.settings [3](R 3.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
27.07.2021 14:20:09.124 *ERROR* [FelixStartLevel] ERROR: Bundle '4' Error starting slinginstall:jcl-over-slf4j-1.6.4.jar (org.osgi.framework.BundleException: Unable to resolve jcl.over.slf4j [4](R 4.1): missing requirement [jcl.over.slf4j [4](R 4.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.spi)(version>=1.7.21)) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[jcl.over.slf4j [4](R 4.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.spi)(version>=1.7.21))])
org.osgi.framework.BundleException: Unable to resolve jcl.over.slf4j [4](R 4.1): missing requirement [jcl.over.slf4j [4](R 4.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.spi)(version>=1.7.21)) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[jcl.over.slf4j [4](R 4.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.spi)(version>=1.7.21))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
27.07.2021 14:20:09.125 *ERROR* [FelixStartLevel] ERROR: Bundle '5' Error starting slinginstall:org.apache.sling.commons.logservice-1.0.2.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.commons.logservice [5](R 5.1): missing requirement [org.apache.sling.commons.logservice [5](R 5.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6)) Unresolved requirements: [[org.apache.sling.commons.logservice [5](R 5.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))])
org.osgi.framework.BundleException: Unable to resolve org.apache.sling.commons.logservice [5](R 5.1): missing requirement [org.apache.sling.commons.logservice [5](R 5.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6)) Unresolved requirements: [[org.apache.sling.commons.logservice [5](R 5.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
27.07.2021 14:20:09.131 *ERROR* [FelixStartLevel] ERROR: Bundle '6' Error starting slinginstall:org.apache.sling.installer.provider.file-1.0.2.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.provider.file [6](R 6.1): missing requirement [org.apache.sling.installer.provider.file [6](R 6.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.apache.sling.installer.provider.file [6](R 6.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.provider.file [6](R 6.1): missing requirement [org.apache.sling.installer.provider.file [6](R 6.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.apache.sling.installer.provider.file [6](R 6.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
27.07.2021 14:20:09.134 *ERROR* [FelixStartLevel] ERROR: Bundle '7' Error starting slinginstall:org.apache.sling.installer.core-3.4.6.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.core [7](R 7.1): missing requirement [org.apache.sling.installer.core [7](R 7.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.7.0)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.apache.sling.installer.core [7](R 7.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.7.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.core [7](R 7.1): missing requirement [org.apache.sling.installer.core [7](R 7.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.7.0)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.apache.sling.installer.core [7](R 7.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.7.0)(!(version>=2.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
27.07.2021 14:20:09.135 *ERROR* [FelixStartLevel] ERROR: Bundle '9' Error starting slinginstall:log4j-over-slf4j-1.6.4.jar (org.osgi.framework.BundleException: Unable to resolve log4j.over.slf4j [9](R 9.1): missing requirement [log4j.over.slf4j [9](R 9.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.helpers)(version>=1.6.0)) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[log4j.over.slf4j [9](R 9.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.helpers)(version>=1.6.0))])
org.osgi.framework.BundleException: Unable to resolve log4j.over.slf4j [9](R 9.1): missing requirement [log4j.over.slf4j [9](R 9.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.helpers)(version>=1.6.0)) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[log4j.over.slf4j [9](R 9.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.helpers)(version>=1.6.0))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
27.07.2021 14:20:09.140 *ERROR* [FelixStartLevel] ERROR: Bundle '11' Error starting slinginstall:org.apache.sling.commons.log-3.0.0.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.commons.log [11](R 11.1): missing requirement [org.apache.sling.commons.log [11](R 11.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.event)(version>=1.7.0)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.apache.sling.commons.log [11](R 11.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.event)(version>=1.7.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.apache.sling.commons.log [11](R 11.1): missing requirement [org.apache.sling.commons.log [11](R 11.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.event)(version>=1.7.0)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.apache.sling.commons.log [11](R 11.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.event)(version>=1.7.0)(!(version>=2.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
27.07.2021 14:20:09.145 *ERROR* [FelixStartLevel] ERROR: Bundle '13' Error starting slinginstall:org.apache.sling.launchpad.installer-1.2.0.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.launchpad.installer [13](R 13.1): missing requirement [org.apache.sling.launchpad.installer [13](R 13.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.apache.sling.launchpad.installer [13](R 13.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.apache.sling.launchpad.installer [13](R 13.1): missing requirement [org.apache.sling.launchpad.installer [13](R 13.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.apache.sling.launchpad.installer [13](R 13.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
27.07.2021 14:20:09.148 *ERROR* [FelixStartLevel] ERROR: Bundle '14' Error starting slinginstall:com.adobe.granite.startup-0.6.2.jar (org.osgi.framework.BundleException: Unable to resolve com.adobe.granite.startup [14](R 14.0): missing requirement [com.adobe.granite.startup [14](R 14.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.2)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[com.adobe.granite.startup [14](R 14.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.2)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve com.adobe.granite.startup [14](R 14.0): missing requirement [com.adobe.granite.startup [14](R 14.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.2)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[com.adobe.granite.startup [14](R 14.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.2)(!(version>=2.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
27.07.2021 14:20:09.150 *ERROR* [FelixStartLevel] ERROR: Bundle '19' Error starting launchpad:resources/install/2/org.apache.aries.util-1.0.0.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.aries.util [19](R 19.1): missing requirement [org.apache.aries.util [19](R 19.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6)) Unresolved requirements: [[org.apache.aries.util [19](R 19.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))])
org.osgi.framework.BundleException: Unable to resolve org.apache.aries.util [19](R 19.1): missing requirement [org.apache.aries.util [19](R 19.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6)) Unresolved requirements: [[org.apache.aries.util [19](R 19.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
27.07.2021 14:20:09.151 *ERROR* [FelixStartLevel] ERROR: Bundle '23' Error starting launchpad:resources/install/5/commons-io-2.4.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.commons.io [23](R 23.1): missing requirement [org.apache.commons.io [23](R 23.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6)) Unresolved requirements: [[org.apache.commons.io [23](R 23.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))])
org.osgi.framework.BundleException: Unable to resolve org.apache.commons.io [23](R 23.1): missing requirement [org.apache.commons.io [23](R 23.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6)) Unresolved requirements: [[org.apache.commons.io [23](R 23.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
27.07.2021 14:20:09.154 *ERROR* [FelixStartLevel] ERROR: Bundle '36' Error starting launchpad:resources/install/5/org.apache.sling.installer.factory.configuration-1.0.10.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.factory.configuration [36](R 36.1): missing requirement [org.apache.sling.installer.factory.configuration [36](R 36.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.apache.sling.installer.factory.configuration [36](R 36.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.factory.configuration [36](R 36.1): missing requirement [org.apache.sling.installer.factory.configuration [36](R 36.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.apache.sling.installer.factory.configuration [36](R 36.1)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
27.07.2021 14:20:09.156 *ERROR* [FelixStartLevel] ERROR: Bundle '44' Error starting launchpad:resources/install/9/org.apache.felix.configadmin-1.6.1-R1411640.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.felix.configadmin [44](R 44.1): missing requirement [org.apache.felix.configadmin [44](R 44.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6)) Unresolved requirements: [[org.apache.felix.configadmin [44](R 44.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))])
org.osgi.framework.BundleException: Unable to resolve org.apache.felix.configadmin [44](R 44.1): missing requirement [org.apache.felix.configadmin [44](R 44.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6)) Unresolved requirements: [[org.apache.felix.configadmin [44](R 44.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
27.07.2021 14:20:09.158 *ERROR* [FelixStartLevel] ERROR: Bundle '92' Error starting launchpad:resources/install/0/com.adobe.granite.crypto-0.0.24.jar (org.osgi.framework.BundleException: Unable to resolve com.adobe.granite.crypto [92](R 92.1): missing requirement [com.adobe.granite.crypto [92](R 92.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.7)) Unresolved requirements: [[com.adobe.granite.crypto [92](R 92.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.7))])
org.osgi.framework.BundleException: Unable to resolve com.adobe.granite.crypto [92](R 92.1): missing requirement [com.adobe.granite.crypto [92](R 92.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.7)) Unresolved requirements: [[com.adobe.granite.crypto [92](R 92.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.7))]
27.07.2021 14:20:09.159 *ERROR* [FelixStartLevel] ERROR: Bundle '308' Error starting slinginstall:org.apache.felix.coordinator-1.0.2.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.felix.coordinator [308](R 308.0): missing requirement [org.apache.felix.coordinator [308](R 308.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5)) Unresolved requirements: [[org.apache.felix.coordinator [308](R 308.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5))])
org.osgi.framework.BundleException: Unable to resolve org.apache.felix.coordinator [308](R 308.0): missing requirement [org.apache.felix.coordinator [308](R 308.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5)) Unresolved requirements: [[org.apache.felix.coordinator [308](R 308.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5))]
27.07.2021 14:20:09.168 *INFO * [main] Startup completed
27.07.2021 14:20:11.184 *ERROR* [FelixStartLevel] ERROR: Bundle '16' Error starting launchpad:resources/install/2/org.apache.aries.jmx.core-1.0.1.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.aries.jmx.core [16](R 16.0): missing requirement [org.apache.aries.jmx.core [16](R 16.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.apache.sling.commons.logservice [5](R 5.1): missing requirement [org.apache.sling.commons.logservice [5](R 5.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))] Unresolved requirements: [[org.apache.aries.jmx.core [16](R 16.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.apache.aries.jmx.core [16](R 16.0): missing requirement [org.apache.aries.jmx.core [16](R 16.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.apache.sling.commons.logservice [5](R 5.1): missing requirement [org.apache.sling.commons.logservice [5](R 5.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))] Unresolved requirements: [[org.apache.aries.jmx.core [16](R 16.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(version>=2.0.0)))]
27.07.2021 14:20:11.186 *ERROR* [FelixStartLevel] ERROR: Bundle '17' Error starting launchpad:resources/install/2/org.apache.aries.jmx.whiteboard-1.0.0.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.aries.jmx.whiteboard [17](R 17.0): missing requirement [org.apache.aries.jmx.whiteboard [17](R 17.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.apache.aries.jmx.whiteboard [17](R 17.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.apache.aries.jmx.whiteboard [17](R 17.0): missing requirement [org.apache.aries.jmx.whiteboard [17](R 17.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0))) [caused by: Unable to resolve slf4j.api [2](R 2.1): missing requirement [slf4j.api [2](R 2.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.apache.aries.jmx.whiteboard [17](R 17.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.5.0)(!(version>=2.0.0)))]
27.07.2021 14:20:11.187 *ERROR* [FelixStartLevel] ERROR: Bundle '18' Error starting launchpad:resources/install/2/org.apache.aries.transaction.manager-1.0.1.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.aries.transaction.manager [18](R 18.0): missing requirement [org.apache.aries.transaction.manager [18](R 18.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.aries.util.nls)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.apache.aries.util [19](R 19.1): missing requirement [org.apache.aries.util [19](R 19.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))] Unresolved requirements: [[org.apache.aries.transaction.manager [18](R 18.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.aries.util.nls)(version>=1.0.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.apache.aries.transaction.manager [18](R 18.0): missing requirement [org.apache.aries.transaction.manager [18](R 18.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.aries.util.nls)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.apache.aries.util [19](R 19.1): missing requirement [org.apache.aries.util [19](R 19.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))] Unresolved requirements: [[org.apache.aries.transaction.manager [18](R 18.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.aries.util.nls)(version>=1.0.0)(!(version>=2.0.0)))]
27.07.2021 14:20:11.187 *ERROR* [FelixStartLevel] ERROR: Bundle '20' Error starting launchpad:resources/install/2/org.apache.sling.discovery.api-0.1.0-R1484784.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.discovery.api [20](R 20.0): missing requirement [org.apache.sling.discovery.api [20](R 20.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.apache.sling.discovery.api [20](R 20.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))])
org.osgi.framework.BundleException: Unable to resolve org.apache.sling.discovery.api [20](R 20.0): missing requirement [org.apache.sling.discovery.api [20](R 20.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.apache.sling.discovery.api [20](R 20.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))]
我在 6.5 上尝试了相同的步骤,得到了相同的结果:服务器无法工作。
有人可以分享脚本或迁移步骤的详细列表吗?官方 AEM 文档含糊不清。
对于这样的旧迁移,我建议通过打包内容进行迁移并通过包管理器安装它或将包放入
crx-quickstart/install
目录中。当然,如果网站太大,打包方式就会有挑战。
关于代码,最好是使用最近的原型创建一个新项目,然后逐段移动代码。
为了迁移到 AEM 新版本,最好使用最新的 Maven 原型创建项目,然后将现有代码添加到新项目并修复需要的更改。 对于内容 - 从旧 AEM 版本创建包并通过 packmanager 将其上传到新的 AEM 实例。
迁移到 6.5 后,我遇到了捆绑包的问题。 尝试从其他工作环境替换conf/sling.properties 文件。 当然之前要做好备份。