gpt4 book ai didi

java - maven 无法解析 jmonkeyengine 的依赖关系

转载 作者:行者123 更新时间:2023-12-01 16:58:37 24 4
gpt4 key购买 nike

我正在尝试学习jmonkey引擎并想建立一个maven项目。我将 Maven 设置从 jmonkey 网站复制到我的 pom 中,但仍然收到错误:

Failed to execute goal on project jmonkey.test: Could not resolve dependencies for project com.example:jmonkey.test:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at org.jmonkeyengine:jme3-core:jar:3.2.0-stable: Failed to read artifact descriptor for org.jmonkeyengine:jme3-core:jar:3.2.0-stable: Could not transfer artifact org.jmonkeyengine:jme3-core:pom:3.2.0-stable from/to jcenter (http://jcenter.bintray.com): Access denied to http://jcenter.bintray.com/org/jmonkeyengine/jme3-core/3.2.0-stable/jme3-core-3.2.0-stable.pom. Error code 403, Forbidden -> [Help 1]

我现在不知道该怎么做才能使其正常工作。

最佳答案

您正在尝试通过 http 从 jcenter 获取依赖项。您应该尝试通过 https 获取它。这就是您从 jcenter 获得 403 状态代码的原因。

关于java - maven 无法解析 jmonkeyengine 的依赖关系,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61548998/

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