gpt4 book ai didi

aem - 请求 http ://localhost:4502/crx/packmgr/service. jsp 失败,response=Forbidden

转载 作者:行者123 更新时间:2023-12-02 00:44:27 25 4
gpt4 key购买 nike

我在构建项目时遇到了这个问题,当时我的办公网络在通过 Vault 构建时限制访问 Adob​​e CRX packmgr。

The error message were as below:

[WARNING] Required proxy credentials not available for BASIC <any realm>@10.XX3.X0.XX:XXXX
[WARNING] Preemptive authentication requested but no default proxy credentials available
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Forbidden

And the Build was failed.


[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.221 s
[INFO] Finished at: 2017-06-22T16:01:01+05:30
[INFO] Final Memory: 36M/459M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:0.0.24:install (install-package) on project XXXbas.ui.apps: Error while installing package. Check log for details. -> [Help 1]

最佳答案

我通过在我的父 pom.xml 中添加一个简单的配置解决了这个问题:

<useProxy>false</useProxy>

代码如下:

<!-- Content Package Plugin -->
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<version>0.0.24</version>
<configuration>
<targetURL>http://${aem.host}:${aem.port}/crx/packmgr/service.jsp</targetURL>
<failOnError>true</failOnError>
<failOnMissingEmbed>true</failOnMissingEmbed>
<useProxy>false</useProxy>
</configuration>
</plugin>

关于aem - 请求 http ://localhost:4502/crx/packmgr/service. jsp 失败,response=Forbidden,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44698728/

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