P Peter Lewis Well-Known Member Licensed User Longtime User Jun 9, 2024 #1 Hi All, I have been trying to get hold of the author with no luck. Everything works well, but not with B4JPackager11. Any ideas of how to make it work. The author of the Lib is no longer on this Forum Thank you main$ResumableSub_btnRemoveAP_Click.resume (java line: -1) java.util.ServiceConfigurationError: com.google.common.base.PatternCompiler: module b4j does not declare `uses` at java.base/java.util.ServiceLoader.fail(Unknown Source) at java.base/java.util.ServiceLoader.checkCaller(Unknown Source) at java.base/java.util.ServiceLoader.<init>(Unknown Source) at java.base/java.util.ServiceLoader.load(Unknown Source) at b4j/com.google.common.base.Platform.loadPatternCompiler(Unknown Source) at b4j/com.google.common.base.Platform.<clinit>(Unknown Source) at b4j/com.google.common.base.Strings.isNullOrEmpty(Unknown Source) at b4j/org.openqa.selenium.remote.internal.OkHttpClient$Factory.createClient(Unknown Source) at b4j/org.openqa.selenium.remote.HttpCommandExecutor.<init>(Unknown Source) at b4j/org.openqa.selenium.remote.HttpCommandExecutor.<init>(Unknown Source) at b4j/org.openqa.selenium.remote.service.DriverCommandExecutor.<init>(Unknown Source) at b4j/org.openqa.selenium.chrome.ChromeDriverCommandExecutor.<init>(Unknown Source) at b4j/org.openqa.selenium.chrome.ChromeDriver.<init>(Unknown Source) at b4j/org.openqa.selenium.chrome.ChromeDriver.<init>(Unknown Source) at b4j/org.openqa.selenium.chrome.ChromeDriver.<init>(Unknown Source) at b4j/com.visualnet.selenium.Initialize(Unknown Source) at b4j/b4j.example.main$ResumableSub_btnRemoveAP_Click.resume(Unknown Source) at b4j/b4j.example.main._btnremoveap_click(Unknown Source) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at b4j/anywheresoftware.b4a.BA.raiseEvent2(Unknown Source) at b4j/anywheresoftware.b4a.BA$1.run(Unknown Source) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Native Method) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source) at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source) at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Click to expand...
Hi All, I have been trying to get hold of the author with no luck. Everything works well, but not with B4JPackager11. Any ideas of how to make it work. The author of the Lib is no longer on this Forum Thank you main$ResumableSub_btnRemoveAP_Click.resume (java line: -1) java.util.ServiceConfigurationError: com.google.common.base.PatternCompiler: module b4j does not declare `uses` at java.base/java.util.ServiceLoader.fail(Unknown Source) at java.base/java.util.ServiceLoader.checkCaller(Unknown Source) at java.base/java.util.ServiceLoader.<init>(Unknown Source) at java.base/java.util.ServiceLoader.load(Unknown Source) at b4j/com.google.common.base.Platform.loadPatternCompiler(Unknown Source) at b4j/com.google.common.base.Platform.<clinit>(Unknown Source) at b4j/com.google.common.base.Strings.isNullOrEmpty(Unknown Source) at b4j/org.openqa.selenium.remote.internal.OkHttpClient$Factory.createClient(Unknown Source) at b4j/org.openqa.selenium.remote.HttpCommandExecutor.<init>(Unknown Source) at b4j/org.openqa.selenium.remote.HttpCommandExecutor.<init>(Unknown Source) at b4j/org.openqa.selenium.remote.service.DriverCommandExecutor.<init>(Unknown Source) at b4j/org.openqa.selenium.chrome.ChromeDriverCommandExecutor.<init>(Unknown Source) at b4j/org.openqa.selenium.chrome.ChromeDriver.<init>(Unknown Source) at b4j/org.openqa.selenium.chrome.ChromeDriver.<init>(Unknown Source) at b4j/org.openqa.selenium.chrome.ChromeDriver.<init>(Unknown Source) at b4j/com.visualnet.selenium.Initialize(Unknown Source) at b4j/b4j.example.main$ResumableSub_btnRemoveAP_Click.resume(Unknown Source) at b4j/b4j.example.main._btnremoveap_click(Unknown Source) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at b4j/anywheresoftware.b4a.BA.raiseEvent2(Unknown Source) at b4j/anywheresoftware.b4a.BA$1.run(Unknown Source) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Native Method) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source) at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source) at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Click to expand...
P Peter Lewis Well-Known Member Licensed User Longtime User Jun 10, 2024 #2 I have found that is I use the following command line, it does work B4X: javaw --module-path C:\Java\jdk-11.0.1\javafx\lib --add-modules ALL-MODULE-PATH -jar "C:\Source Code\espinfo1368786\Objects\espinfo.jar" It is a short term solution Upvote 0
I have found that is I use the following command line, it does work B4X: javaw --module-path C:\Java\jdk-11.0.1\javafx\lib --add-modules ALL-MODULE-PATH -jar "C:\Source Code\espinfo1368786\Objects\espinfo.jar" It is a short term solution
H hanyelmehy Well-Known Member Licensed User Longtime User Aug 21, 2024 #3 Peter Lewis said: I have found that is I use the following command line, it does work B4X: javaw --module-path C:\Java\jdk-11.0.1\javafx\lib --add-modules ALL-MODULE-PATH -jar "C:\Source Code\espinfo1368786\Objects\espinfo.jar" It is a short term solution Click to expand... what is the sloution you used for Selenium Browser Automation Upvote 0
Peter Lewis said: I have found that is I use the following command line, it does work B4X: javaw --module-path C:\Java\jdk-11.0.1\javafx\lib --add-modules ALL-MODULE-PATH -jar "C:\Source Code\espinfo1368786\Objects\espinfo.jar" It is a short term solution Click to expand... what is the sloution you used for Selenium Browser Automation
P Peter Lewis Well-Known Member Licensed User Longtime User Aug 21, 2024 #4 Selenium Browser Automation - Create any Robot with Browser Selenium WebDriver - Mastering Test Automation with Selenium What is Selenium? Selenium is an open source automated testing suite for web applications across different browsers and platforms. It is quite similar to HP Quick Test Professional (QTP) only that Selenium focuses on automating... www.b4x.com I used the lib from here Upvote 0
Selenium Browser Automation - Create any Robot with Browser Selenium WebDriver - Mastering Test Automation with Selenium What is Selenium? Selenium is an open source automated testing suite for web applications across different browsers and platforms. It is quite similar to HP Quick Test Professional (QTP) only that Selenium focuses on automating... www.b4x.com I used the lib from here