留言板

Offline Liferay Development

thumbnail
Rajesh GR,修改在8 年前。

Offline Liferay Development

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

I m trying to work with Liferay 6.2 with out internet and downloaded - https://www.liferay.com/downloads/liferay-portal/available-releases - Bundled with Tomcat, Portal Java Docs, Portal Source, Portal SQL Scripts, Plugins SDK and Liferay IDE

While trying to create any plugin, I m getting below errors and unable to create any, Please Suggest me if any other settings is required to work offline.

Liferay 6.2 - https://www.liferay.com/downloads/liferay-portal/available-releases - Bundled with Tomcat, Portal Java Docs, Portal Source, Portal SQL Scripts, Plugins SDK

[Console output redirected to fileemoticon:\Workspace\.metadata\.plugins\com.liferay.ide.sdk.core\sdk.log]
Parallel execution with configuration on demand is an incubating feature.


BUILD FAILED

Total time: 13.807 secs
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'liferay-plugins-sdk-6.2'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve commons-codec:commons-codec:1.9.
Required by:
:liferay-plugins-sdk-6.2:unspecified
> Could not GET 'http://cdn.repository.liferay.com/nexus/content/groups/public/commons-codec/commons-codec/1.9/commons-codec-1.9.pom'. Received status cod
e 407 from server: Proxy Authorization Required
thumbnail
Olaf Kock,修改在8 年前。

RE: Offline Liferay Development

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
Rajesh GR:
Received status code 407 from server: Proxy Authorization Required


Could it be possible that you're running this from a network which requires a proxy that needs authentication maybe?
thumbnail
Rajesh GR,修改在8 年前。

RE: Offline Liferay Development

Regular Member 帖子: 161 加入日期: 10-2-8 最近的帖子
Olaf Kock:
Rajesh GR:
Received status code 407 from server: Proxy Authorization Required


Could it be possible that you're running this from a network which requires a proxy that needs authentication maybe?


Yes Olaf Kock, I m working on the network which requires proxy but unable to get authenticated successfully even with correct details in Liferay Eclipse Luna IDE.
thumbnail
Olaf Kock,修改在8 年前。

RE: Offline Liferay Development

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
Check if Maven can access and download dependencies - or update the dependencies once outside of your network - it should only happen once. Or it might be ant / ivy building its cache... I'm using DevStudio (the EE version of IDE), which comes with the full dependency-cache, thus my experience is different from yours. You'll probably be able to tell which tool generates the problem from inspecting the console window's title...