【问题标题】:Error in building Liferay 6.2 portlet in Eclipse Juno?在 Eclipse Juno 中构建 Liferay 6.2 portlet 时出错?
【发布时间】:2014-03-25 16:55:03
【问题描述】:

尝试使用 liferay 6.2 EE 在 Eclipse Juno 中创建 portlet 时出现以下错误。你能告诉我我在这方面缺少什么吗?我是 Liferay 6.2 的新手

BUILD FAILED
D:\Working\Liferay 6.2\liferay-plugins-sdk-6.2.10.1\portlets\build.xml:5: The following error occurred while executing this line:
D:\Working\Liferay 6.2\liferay-plugins-sdk-6.2.10.1\build-common-plugins.xml:5: The following error occurred while executing this line:
D:\Working\Liferay 6.2\liferay-plugins-sdk-6.2.10.1\build-common.xml:47: The following error occurred while executing this line:
D:\Working\Liferay 6.2\liferay-plugins-sdk-6.2.10.1\build-common-ivy.xml:34: The following error occurred while executing this line:
D:\Working\Liferay 6.2\liferay-plugins-sdk-6.2.10.1\build-common-ivy.xml:50: impossible to resolve dependencies:
    resolve failed - see output for details

Total time: 1 minute 1 second

【问题讨论】:

标签: eclipse liferay-6 ivy


【解决方案1】:

您是否收到论坛中提到的以下消息?

[ivy:resolve] Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 

如果是这样,这意味着 ivy 正在尝试访问使用无效证书的受 SSL 保护的 URL (https)。

您必须提供更多详细信息(完整的堆栈跟踪和适用的 ivy 代码)才能进一步诊断。

【讨论】:

    猜你喜欢
    • 2015-10-20
    • 2016-06-06
    • 2014-01-26
    • 1970-01-01
    • 2014-05-25
    • 2023-03-26
    • 1970-01-01
    • 2014-03-21
    • 1970-01-01
    相关资源
    最近更新 更多