Liferay Build Services failed - liferay

I've created a configuration for the Liferay Service Builder. After this I tried to build services, but I received the following error:
Buildfile: C:\LiferayNew\liferay-plugins-sdk-6.2\portlets\guestbook-portlet\build.xml
BUILD FAILED
C:\LiferayNew\liferay-plugins-sdk-6.2\portlets\guestbook-portlet\build.xml:5: The following error occurred while executing this line:
C:\LiferayNew\liferay-plugins-sdk-6.2\portlets\build-common-portlet.xml:5: The following error occurred while executing this line:
C:\LiferayNew\liferay-plugins-sdk-6.2\build-common-plugin.xml:5: The following error occurred while executing this line:
C:\LiferayNew\liferay-plugins-sdk-6.2\build-common.xml:60: The following error occurred while executing this line:
C:\LiferayNew\liferay-plugins-sdk-6.2\build-common-ivy.xml:71: The following error occurred while executing this line:
C:\LiferayNew\liferay-plugins-sdk-6.2\build-common-ivy.xml:55: java.net.MalformedURLException: no protocol: ${ivy.jar.url}
Total time: 1 second.
How I can solve this issue?

Related

EclipseCDT will not debug executable: Error creating process

I just installed EclipseCDT 2022-12, created the HelloWorld example app, compiled, but when I debug I get an error. I have both current MSYS2 (MinGW64) and Cygwin64 installed, neither environment works and fails with the same error:
Error in final launch sequence:
Failed to execute MI command:
-exec-run
Error message from debugger back end:
Error creating process /cygdrive/c/Windows/system32/C:/Projects/cc3135/hello/C:/Projects/cc3135/hello/Debug/hello.exe, (error 2).
Failed to execute MI command:
-exec-run
Error message from debugger back end:
Error creating process /cygdrive/c/Windows/system32/C:/Projects/cc3135/hello/C:/Projects/cc3135/hello/Debug/hello.exe, (error 2).
Error creating process /cygdrive/c/Windows/system32/C:/Projects/cc3135/hello/C:/Projects/cc3135/hello/Debug/hello.exe, (error 2).
Any suggestions?
P.S. The hello executable runs fine in cmd.exe and under gdb.

Why am I getting these build errors?

When im using this
implementation 'com.github.iammert:ReadableBottomBar:0.2'
I am getting these build error
1.org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
2.java.lang.RuntimeException: Duplicate class android.support.v4.app.INotificationSideChannel found in modules core-1.8.0-runtime (androidx.core:core:1.8.0) and support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0)

An unknown server-side error occurred while processing the command. Original error: Failed to locate opened application window with appId

Class Initialization method xxxxx.Features.PublicAppFeature.FeatureSetup threw exception. OpenQA.Selenium.WebDriverException: OpenQA.Selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Failed to locate opened application window with appId: xxxxxxxxxxxxxxxxx, and processId: xxxx.
An Application opened on the Remote machine. But they failed with the above error.
Run on Azure Pipeline on a Self-hosted machine(Window Server 2019 Datacenter)
Application is opened on the machine.
AppiumOptions options = new AppiumOptions();
options.AddAdditionalCapability("app", AppPath);
options.AddAdditionalCapability("ms:waitForAppLaunch", $"{SecondsToWaitOnOpen}");
options.AddAdditionalCapability("ms:experimental-webdriver", false);
session = new WindowsDriver(WindowsApplicationDriverUrl, options);

Exception occurred while calling driver.quit(): Unable to load configuration from class 'class GebConfig' (with environment: )

I am running Groovy automation script, but i am getting the following error,
Exception occurred while calling driver.quit(): Unable to load configuration from class 'class GebConfig' (with environment: )

I am not able to create a Liferay Plugin Project

[Console output redirected to file:C:\Rahul13615\liferay\eclipse\workspace\.metadata\.plugins\com.liferay.ide. sdk.core\sdk.log]
Buildfile: C:\Rahul13615\liferay\plugins\portlets\build.xml
[get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0/ivy- 2.3.0.jar
[get] To: C:\Rahul13615\liferay\plugins\.ivy\ivy-2.3.0.jar
[get] Error getting http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0/ivy-2.3.0.jar to C:\Rahul13615\liferay\plugins\.ivy\ivy-2.3.0.jar
BUILD FAILED
C:\Rahul13615\liferay\plugins\portlets\build.xml:5: The following error occurred while executing this line:
C:\Rahul13615\liferay\plugins\build-common-plugins.xml:5: The following error occurred while executing this line:
C:\Rahul13615\liferay\plugins\build-common.xml:47: The following error occurred while executing this line:
C:\Rahul13615\liferay\plugins\build-common-ivy.xml:17: java.net.SocketException: Connection reset
Total time: 1 minute 27 seconds
I try to create a new project and this happens. I tried changing the jre version from 1.8 to 1.7, it didnt work..Please help me!
Try this:
ivy.jar.url=https://repository.liferay.com/nexus/content/repositories/liferay-public-snapshots/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
instead your current ivy.jar.url=...
Hope it helps.

Resources