掲示板

Error creating workspace

7年前 に Lee Chamberlain によって更新されました。

Error creating workspace

Junior Member 投稿: 92 参加年月日: 16/05/05 最新の投稿
I have this error when I try and create my workspace.

Could anyone kindly point me in the right direction as to what might be the issue?

Thanks
Lee

Working Directory: C:\Users\l***4\workspace\test101
Gradle User Home: C:\Users\l***4\.gradle
Gradle Distribution: Gradle wrapper from target build
Gradle Version: 2.13
Java Home: C:\Program Files\Java\jdk1.8.0_102
JVM Arguments: None
Program Arguments: None
Gradle Tasks: initBundle


FAILURE: Build failed with an exception.

* What went wrong:
Task 'initBundle' not found in root project 'test101'.

* Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 0.123 secs
thumbnail
7年前 に Lawrence Lee によって更新されました。

RE: Error creating workspace

New Member 投稿: 15 参加年月日: 10/03/11 最新の投稿
What were the steps you used to create the workspace?

If you were using Liferay Blade, I would recommend following the steps highlighted in our dev guide
https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/creating-a-liferay-workspace-with-blade-cli

Hope this helps!
7年前 に Lee Chamberlain によって更新されました。

RE: Error creating workspace

Junior Member 投稿: 92 参加年月日: 16/05/05 最新の投稿
Thanks, we had a look at Blade and noticed some errors with the proxy settings there.

It's still not solved the major problem which is maven not allowing me to have access to the repository.

Are there any example settings.xml files for Liferay 7 around I could check out?

Thanks
Lee
thumbnail
7年前 に Andy Wu によって更新されました。

RE: Error creating workspace

Regular Member 投稿: 195 参加年月日: 15/05/05 最新の投稿
hey Lee, could you talk about more about your aim and give out steps for reproducing your problem ?
7年前 に Lee Chamberlain によって更新されました。

RE: Error creating workspace

Junior Member 投稿: 92 参加年月日: 16/05/05 最新の投稿
I'm basically just trying to set up my development environment so I can use IDE 3 in Eclipse.

I can't get Maven to connect to the repositories when I try and set up a portal project.

Thanks
Lee
thumbnail
7年前 に Gregory Amerson によって更新されました。

RE: Error creating workspace

Liferay Legend 投稿: 1123 参加年月日: 10/02/16 最新の投稿
Are you using maven or gradle? What version of the portal are you targeting? What types of plugins/modules do you need to develop? (portlets, themes? )

If you are using maven, you must configure maven to use your proxies as shown in this document. https://maven.apache.org/guides/mini/guide-proxies.html

Let us know more and we can try to help out.
7年前 に Lee Chamberlain によって更新されました。

RE: Error creating workspace

Junior Member 投稿: 92 参加年月日: 16/05/05 最新の投稿
Trying to use maven
Liferay 7
IDE 3 (Eclipse Mars)

Have downloaded the zip file from liferay and am trying to install them locally.

However I'm now having problems getting ant to install them.
thumbnail
7年前 に Yanan Yuan によって更新されました。

RE: Error creating workspace

Junior Member 投稿: 89 参加年月日: 11/10/08 最新の投稿
Hello Lee,

Can you please provide your steps so we can try to reproduce the error you've run into?
7年前 に Lee Chamberlain によって更新されました。

RE: Error creating workspace

Junior Member 投稿: 92 参加年月日: 16/05/05 最新の投稿
Yanan Yuan:
Hello Lee,

Can you please provide your steps so we can try to reproduce the error you've run into?


Thanks

I've downloaded the maven zip files and unzipped them
Navigated to the root of that file (where build.xml is).
Run a batch file with the ant command in it.
File appears to unpack.

Try creating a portal plugin project, and I get errors with Maven

Contains: Failure to transfer com.liferay.maven.archetypes:liferay-portlet-archetype:pom:6.2.5 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact com.liferay.maven.archetypes:liferay-portlet-archetype:pom:6.2.5 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org
org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer com.liferay.maven.archetypes:liferay-portlet-archetype:pom:6.2.5 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact com.liferay.maven.archetypes:liferay-portlet-archetype:pom:6.2.5 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org
thumbnail
7年前 に Gregory Amerson によって更新されました。

RE: Error creating workspace

Liferay Legend 投稿: 1123 参加年月日: 10/02/16 最新の投稿
Are you trying to create a Liferay workspace environment? Can you follow the documentation guide starting from here and let us know where it fails for you?

https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/liferay-workspace

Thanks
5年前 に asif aftab によって更新されました。

RE: Error creating workspace

Regular Member 投稿: 123 参加年月日: 13/09/02 最新の投稿