留言板

Build Error on creating new Liferay Portlet Plugin in plugins-sdk-6.2.0-ce

thumbnail
G R Rajesh Babu,修改在10 年前。

Build Error on creating new Liferay Portlet Plugin in plugins-sdk-6.2.0-ce

Regular Member 帖子: 161 加入日期: 10-2-8 最近的帖子
Hi Guys,

I am unable to build a Liferay Portlet Plugin in plugins-sdk-6.2.0-ce by getting the following Error. Please suggets me where exactly I am getting wrong.

[Console output redirected to fileemoticon:\Program_Files\Liferay\Workspace_LDS\.metadata\.plugins\com.liferay.ide.eclipse.sdk\sdk.log]

Buildfile: D:\Program_Files\Liferay\Liferay6.2_M6\liferay-plugins-sdk-6.2.0-ce-m6-20130614143518319\liferay-plugins-sdk-6.2.0\portlets\build.xml
[ivy:resolve] :: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = D:\Program_Files\Liferay\Liferay6.2_M6\liferay-plugins-sdk-6.2.0-ce-m6-20130614143518319\liferay-plugins-sdk-6.2.0\
ivy-settings.xml

BUILD FAILED
D:\Program_Files\Liferay\Liferay6.2_M6\liferay-plugins-sdk-6.2.0-ce-m6-20130614143518319\liferay-plugins-sdk-6.2.0\portlets\build.xml:5: The following error occ
urred while executing this line:
D:\Program_Files\Liferay\Liferay6.2_M6\liferay-plugins-sdk-6.2.0-ce-m6-20130614143518319\liferay-plugins-sdk-6.2.0\build-common-plugins.xml:5: The following err
or occurred while executing this line:
D:\Program_Files\Liferay\Liferay6.2_M6\liferay-plugins-sdk-6.2.0-ce-m6-20130614143518319\liferay-plugins-sdk-6.2.0\build-common.xml:47: The following error occu
rred while executing this line:
D:\Program_Files\Liferay\Liferay6.2_M6\liferay-plugins-sdk-6.2.0-ce-m6-20130614143518319\liferay-plugins-sdk-6.2.0\build-common-ivy.xml:34: The following error
occurred while executing this line:
D:\Program_Files\Liferay\Liferay6.2_M6\liferay-plugins-sdk-6.2.0-ce-m6-20130614143518319\liferay-plugins-sdk-6.2.0\build-common-ivy.xml:50: java.lang.NoClassDef
FoundError: org/bouncycastle/openpgp/PGPException
thumbnail
David H Nebinger,修改在10 年前。

RE: Build Error on creating new Liferay Portlet Plugin in plugins-sdk-6.2.0

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
6.2 hasn't even gone gold yet, they're still only at M6, and I don't know if the SDK has been bundled for release yet...

If you're not doing development/testing of the 6.2 line, revert back to 6.1...
thumbnail
G R Rajesh Babu,修改在10 年前。

RE: Build Error on creating new Liferay Portlet Plugin in plugins-sdk-6.2.0

Regular Member 帖子: 161 加入日期: 10-2-8 最近的帖子
Hi David,

Thanks for the Reply. I need to create some POCs on the latest Liferay version 6.2.0 M6 and need to verify the issues to decide which latest version of Liferay we can go ahead. That is the reason that I am getting this type of strange issues that have ever faced before.
thumbnail
David H Nebinger,修改在10 年前。

RE: Build Error on creating new Liferay Portlet Plugin in plugins-sdk-6.2.0

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
But until 6.2 is released, no one can guarantee that you're not encountering a bug that may have already been fixed in the source repository... It really is not meant to be an evaluation product for Liferay, only when the first CE goes gold will that be the case...

And even then, there is a history of problems in the initial new version releases. Heck, they're planning on 6.1 CE 3 to come out soon. Not their fault, most significant software changes come with impacts that are difficult to test with such a large installation base and such diverse environments.

My recommendation: if you're going to put this in production within a year of the actual public release of 6.2, stick with 6.1. If you're going to production sometime after a year, then go with 6.2...
thumbnail
G R Rajesh Babu,修改在10 年前。

RE: Build Error on creating new Liferay Portlet Plugin in plugins-sdk-6.2.0

Regular Member 帖子: 161 加入日期: 10-2-8 最近的帖子
Thanks for your recommendation David. will discuss with my boss on the same.
thumbnail
Andew Jardine,修改在10 年前。

RE: Build Error on creating new Liferay Portlet Plugin in plugins-sdk-6.2.0

Liferay Legend 帖子: 2416 加入日期: 10-12-22 最近的帖子
Hey Guys,

I am actually getting this same error on teh 6.1.1 SDK that was released with 6.1.2 GA3. I found this LPS ticket -- no mention of my version of course.

https://support.liferay.com/browse/LPS-36592

I went to GitHub and compared the ivy.xml, ivy.settings.xml and build-common-ivy.xml files from there to the ones that I have in my install and they are almost identical. I also verified that the sdk/lib folder has both the jars listed in the ticket. Frankly, I am at a loss as to what to do here, and I am even more confused how something so core (being able to build a plugin?) could possibly not be tested pre-release.

Perhaps I am missing something? Any guidance would be appreciated.
thumbnail
Onochie Ojekwe,修改在10 年前。

RE: Build Error on creating new Liferay Portlet Plugin in plugins-sdk-6.2.0

New Member 帖子: 17 加入日期: 11-4-8 最近的帖子
try downloading the ivy cache folder then unzip and place in SDK folder http://files.liferay.org.es/staged/public-files/liferay-ide/dependencies/files/ivy-cache.zip