gpt4 book ai didi

java - 如何安装 AEM 存储库?

转载 作者:行者123 更新时间:2023-11-30 07:08:25 27 4
gpt4 key购买 nike

我尝试将此存储库 ( https://github.com/sinnerschrader/aem-react ) 安装到 AEM 中,但收到此错误:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4:enforce (enforce-maven) on project aem-react: Some Enforcer       
rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]

还收到此警告:

[警告] 规则 1:org.apache.maven.plugins.enforcer.RequireJavaVersion 失败,并显示消息:
项目必须使用 Java 8 或
进行编译 更高

当我检查 javaversion 时,我得到:

java version "1.7.0_79"                                            
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)

现在有点困惑要安装哪个版本的 java,因为它说 1.7.0_79?

最佳答案

github 文档中肯定有说明

>= Java 8 (Oracle JDK with nashorn engine)

github -> https://github.com/sinnerschrader/aem-react#dependencies

所以你只需要安装更新的Java版本。一切都在文档中!

java 8 -> https://www.google.com/search?q=java+8+download

关于java - 如何安装 AEM 存储库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39650680/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com