Foros de discusión

Error creating workspace

Lee Chamberlain, modificado hace 7 años.

Error creating workspace

Junior Member Mensajes: 92 Fecha de incorporación: 5/05/16 Mensajes recientes
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
Lawrence Lee, modificado hace 7 años.

RE: Error creating workspace

New Member Mensajes: 15 Fecha de incorporación: 11/03/10 Mensajes recientes
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!
Lee Chamberlain, modificado hace 7 años.

RE: Error creating workspace

Junior Member Mensajes: 92 Fecha de incorporación: 5/05/16 Mensajes recientes
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
Andy Wu, modificado hace 7 años.

RE: Error creating workspace

Regular Member Mensajes: 195 Fecha de incorporación: 5/05/15 Mensajes recientes
hey Lee, could you talk about more about your aim and give out steps for reproducing your problem ?
Lee Chamberlain, modificado hace 7 años.

RE: Error creating workspace

Junior Member Mensajes: 92 Fecha de incorporación: 5/05/16 Mensajes recientes
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
Gregory Amerson, modificado hace 7 años.

RE: Error creating workspace

Liferay Legend Mensajes: 1123 Fecha de incorporación: 16/02/10 Mensajes recientes
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.
Lee Chamberlain, modificado hace 7 años.

RE: Error creating workspace

Junior Member Mensajes: 92 Fecha de incorporación: 5/05/16 Mensajes recientes
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
Yanan Yuan, modificado hace 7 años.

RE: Error creating workspace

Junior Member Mensajes: 89 Fecha de incorporación: 8/10/11 Mensajes recientes
Hello Lee,

Can you please provide your steps so we can try to reproduce the error you've run into?
Lee Chamberlain, modificado hace 7 años.

RE: Error creating workspace

Junior Member Mensajes: 92 Fecha de incorporación: 5/05/16 Mensajes recientes
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
Gregory Amerson, modificado hace 7 años.

RE: Error creating workspace

Liferay Legend Mensajes: 1123 Fecha de incorporación: 16/02/10 Mensajes recientes
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
asif aftab, modificado hace 4 años.

RE: Error creating workspace

Regular Member Mensajes: 123 Fecha de incorporación: 2/09/13 Mensajes recientes