hello Jun 29, 2023 2:54:30 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

847 views
Skip to first unread message

kavita dagar`

unread,
Jun 29, 2023, 5:28:50 AM6/29/23
to ChromeDriver Users

hello

Jun 29, 2023 2:54:30 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: io/netty/util/Timer

at org.openqa.selenium.remote.http.netty.NettyClient$Factory.createClient(NettyClient.java:133)

at org.openqa.selenium.remote.HttpCommandExecutor.<init>(HttpCommandExecutor.java:115)

at org.openqa.selenium.remote.HttpCommandExecutor.<init>(HttpCommandExecutor.java:92)

at org.openqa.selenium.remote.service.DriverCommandExecutor.<init>(DriverCommandExecutor.java:89)

at org.openqa.selenium.chromium.ChromiumDriverCommandExecutor.<init>(ChromiumDriverCommandExecutor.java:43)

at org.openqa.selenium.chrome.ChromeDriver$ChromeDriverCommandExecutor.<init>(ChromeDriver.java:111)

at org.openqa.selenium.chrome.ChromeDriver.generateExecutor(ChromeDriver.java:101)

at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:87)

at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:82)

at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:50)

at latest.newclassjava.main(newclassjava.java:11)

Caused by: java.lang.ClassNotFoundException: io.netty.util.Timer

at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)

at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)

at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)

... 11 more


Adepu Haasini

unread,
Jun 29, 2023, 2:28:38 PM6/29/23
to ChromeDriver Users
Hello


public class sampleclass {


public static void main(String args[]) {

System.setProperty("webdriver.chrome.driver","C:\\Users\\ramya.vanam\\Downloads\\chromedriver\\chromedriver.exe");

WebDriver driver= new ChromeDriver();

driver.get("google.com");

}

}


Jun 29, 2023 11:54:10 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.NoSuchMethodError: 'java.io.OutputStream com.google.common.io.ByteStreams.nullOutputStream()'

at org.openqa.selenium.remote.service.DriverService$Builder.getLogOutput(DriverService.java:471)

at org.openqa.selenium.chrome.ChromeDriverService$Builder.createDriverService(ChromeDriverService.java:417)

at org.openqa.selenium.chrome.ChromeDriverService$Builder.createDriverService(ChromeDriverService.java:197)

at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:507)

at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:166)

at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:50)

at testcase.sampleclass.main(sampleclass.java:13)



I am also getting the same error please help me here.
Screenshot (8).png

Raghu Veer

unread,
Jul 2, 2023, 10:23:46 AM7/2/23
to ChromeDriver Users
Hello Haasini,

Kindly replace the URL with this: https://www.google.co.in/ --->  driver.get("https://www.google.co.in/");

Thanks

Jitesh Shankhpal

unread,
Jul 6, 2023, 3:06:57 AM7/6/23
to ChromeDriver Users

I am having same issue nothing is printing in console

kavita dagar`

unread,
Jul 7, 2023, 8:47:05 AM7/7/23
to Jitesh Shankhpal, ChromeDriver Users
Done solved

--
You received this message because you are subscribed to the Google Groups "ChromeDriver Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromedriver-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chromedriver-users/6f5c1840-f25a-47f8-9131-1d1389c0bc87n%40googlegroups.com.


--
kavita
Quality Analyst, www.perfectiongeeks.com

icon 9540906990

 

Mohammed Afsal

unread,
Jul 17, 2023, 5:55:03 PM7/17/23
to ChromeDriver Users
Having the same issue. Checked the browser version and driver version for compatibility as well.

dharanidhar rathinam

unread,
Jul 17, 2023, 9:31:42 PM7/17/23
to ChromeDriver Users
even i am also facing the same issue, can someone help on how to resolve the issue.

error.JPG

Rajavel K

unread,
Jul 22, 2023, 4:16:05 AM7/22/23
to ChromeDriver Users

i am also same probem

Bhakti Mehta

unread,
Aug 23, 2023, 2:53:45 AM8/23/23
to ChromeDriver Users
Still the errors are same


On Sunday, July 2, 2023 at 7:53:46 PM UTC+5:30 Raghu Veer wrote:

Arun TAM

unread,
Aug 30, 2023, 7:33:25 AM8/30/23
to ChromeDriver Users
same with me.

Mohammed Khan

unread,
Aug 30, 2023, 12:46:06 PM8/30/23
to ChromeDriver Users
I am facing the mentioned issue, Can someone help me how to resolve the issue?
Screenshot 2023-08-30 124342.png
Reply all
Reply to author
Forward
0 new messages