Open sundramtrivedi opened 7 months ago
Hello @sundramtrivedi, I am not an expert in Eclipse and I'm afraid we don't provide Eclipse specific support. I can try to help you but I will need more details about the problem in question. What code sample from this repo are you trying to run/use? Please note that guava is an integral part of many code samples. Taking it out means you modify the sample. Under the published license you can modify and use any code from this repo as you please as long as you follow the license agreement and the modified code behavior is your sole responsibility. You are welcome to submit the version of the code sample that works without guava package by following contribution guidelines. We will be glad to review it and to consider for adding it to the repo.
Hi, I am using selenium 4.16 and it's give me this error:
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableSet
at org.openqa.selenium.remote.ErrorCodes.\
Please help me if you know about it.
Hello @sundramtrivedi I feel confused. Please help me understand the following:
Please not that the provided exception stacktrace clearly points to the missing class com.google.common.collect.ImmutableSet
which is provided by the guava package.
I have develop a code to print pdf of a webpage so for this I have used selenium 4.10. In this used one jar file is guava31.1.1 For a some reason I need to delete this jar file. But my code is not working when I am running the code with guava31.1.1 jar file. For removing this dependency, I want any substitute file of this or any code concept that I can used in my program.
This I comfortable with guava30.1.1 version but this code only run for upper version of this.
I have created Ant project in Eclipse. I have run code without guava file it give me this error. I don't want to use guava file. If their is any concept or any alternative file that replace guava dependency please let me know. Please me out for in this issue.
Jan 15, 2024 1:32:21 PM org.openqa.selenium.remote.service.DriverService$Builder getLogOutput INFO: Driver logs no longer sent to console by default; https://www.selenium.dev/documentation/webdriver/drivers/service/#setting-log-output Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/io/ByteStreams at org.openqa.selenium.remote.service.DriverService$Builder.getLogOutput(DriverService.java:471) at org.openqa.selenium.edge.EdgeDriverService$Builder.createDriverService(EdgeDriverService.java:352) at org.openqa.selenium.edge.EdgeDriverService$Builder.createDriverService(EdgeDriverService.java:147) at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:507) at org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:47)
at org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:43)
at kb.testedge.main(testedge.java:10)
Caused by: java.lang.ClassNotFoundException: com.google.common.io.ByteStreams
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 7 more