简体   繁体   English

重新启动 Adobe Experience Manager 503 错误后无法打开我的页面

[英]Can not open my page after restarting Adobe Experience Manager 503 error

I wanted to connect my project with AEM 6.5我想将我的项目与 AEM 6.5 连接起来

  1. Cloned https://github.com/adobe/aem-project-archetype , and did mvn clean install克隆https://github.com/adobe/aem-project-archetype ,并做了 mvn clean install

  2. Built my project named aemeducation:建立了我的名为 aemeducation 的项目:

    mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=30 -D appTitle="AEM Education" -D appId="aemeducation" -D groupId="com.company.aemeducation" mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=30 -D appTitle="AEM Education" -D appId="aemeducation" -D groupId="com .company.aemeducation"

  3. Did mvn clean install -PautoInstallBundle -PautoInstallPackage in newly created project在新创建的项目中是否有 mvn clean install -PautoInstallBundle -PautoInstallPackage

  4. Even though I can see my site page by the content/aemeducation path, I get following errors in the http://localhost:4502/system/console/bundles:即使我可以通过内容/教育路径看到我的网站页面,我在 http://localhost:4502/system/console/bundles 中收到以下错误:

在此处输入图像描述

And after restarting aem with bin/stop.bat,bin/start.bat files, I'm getting 503 error:在使用 bin/stop.bat,bin/start.bat 文件重新启动 aem 后,我收到 503 错误: 在此处输入图像描述

Maven, Java versions: Maven、Java 版本:

Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: C:\Program Files\apache-maven-3.8.4
Java version: 1.8.0_311, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_311\jre
Default locale: ru_RU, platform encoding: Cp1251
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

error.log file:错误日志文件:

6.11.2021 14:47:02.841 *ERROR* [FelixDispatchQueue] aemeducation.core FrameworkEvent ERROR (org.osgi.framework.BundleException: Unable to resolve aemeducation.core [582](R 582.2): missing requirement [aemeducation.core [582](R 582.2)] osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.wcm.api)(version>=1.29.0)(!(version>=2.0.0))) Unresolved requirements: [[aemeducation.core [582](R 582.2)] osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.wcm.api)(version>=1.29.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve aemeducation.core [582](R 582.2): missing requirement [aemeducation.core [582](R 582.2)] osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.wcm.api)(version>=1.29.0)(!(version>=2.0.0))) Unresolved requirements: [[aemeducation.core [582](R 582.2)] osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.wcm.api)(version>=1.29.0)(!(version>=2.0.0)))]
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.lang.Thread.run(Unknown Source)

AEM 6.5 supports archetype 30 but not the vanilla one. AEM 6.5 支持原型 30,但不支持原版。

This is the basic system requirements for archetype 30:这是原型 30 的基本系统要求:

System Requirements系统要求

在此处输入图像描述

Documentation: https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/archetype/overview.html?lang=en文档: https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/archetype/overview.html?lang=en

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM