Aem 请求http://localhost:4502/crx/packmgr/service.jsp 失败,响应=禁止
我在构建项目时遇到了这个问题,当时我的office网络在通过Vault构建时被限制访问Adobe CRX packmgrAem 请求http://localhost:4502/crx/packmgr/service.jsp 失败,响应=禁止,aem,Aem,我在构建项目时遇到了这个问题,当时我的office网络在通过Vault构建时被限制访问Adobe 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 defau
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]
错误消息如下所示:
[警告]基本@10.XX3.X0.XX:XXXX所需的代理凭据不可用
[警告]已请求抢占式身份验证,但没有可用的默认代理凭据
[错误]请求发送到http://localhost:4502/crx/packmgr/service.jsp 失败,响应=禁止
构建失败了。
[信息]------------------------------------------------------------------------
[信息]生成失败
[信息]------------------------------------------------------------------------
[信息]总时间:8.221秒
[信息]完成时间:2017-06-22T16:01:01+05:30
[信息]最终内存:36M/459M
[信息]------------------------------------------------------------------------
[错误]无法执行目标com.day.jcr.vault:content package maven插件:0.0.24:在项目XXXbas.ui上安装(安装软件包)。应用程序:安装软件包时出错。查看日志了解详细信息。->[帮助1]
我通过在我的父pom.xml中添加一个简单的配置解决了这个问题:
false
代码如下:
<!-- 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>
com.day.jcr.vault
内容包maven插件
0.0.24
http://${aem.host}:${aem.port}/crx/packmgr/service.jsp
符合事实的
符合事实的
错误的
我通过在我的父pom.xml中添加一个简单的配置解决了这个问题:
false
代码如下:
<!-- 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>
com.day.jcr.vault
内容包maven插件
0.0.24
http://${aem.host}:${aem.port}/crx/packmgr/service.jsp
符合事实的
符合事实的
错误的
请您接受此答案,仅为清楚起见,这是正确的答案。请您接受此答案,仅为清楚起见,这是正确的答案。