Isn t it Possible to solve this issue with the latest version like jdk v14

0 votes
Jun 5, 2020 in Selenium by Dolly
• 140 points
589 views

1 answer to this question.

0 votes

This might probably indicate a mistake in the .jar file. 

It contains a META-INF/services/org.eclipse.jetty.http.HttpFieldPreEncoder entry, which, according to the jar service provider interface specification, must contain the name of a class in the same .jar file which implements the interface org.eclipse.jetty.http.HttpFieldPreEncoder.

But, as the exception states, that service descriptor file contains org.eclipse.jetty.http.Http1FieldPreEncoder, a class that does not exist in the .jar file.

There is, however, a org.seleniumhq.jetty9.http.Http1FieldPreEncoder class in the .jar.

The easiest way to fix this is:

  • Extract the entire .jar to a temporary directory.

  • Change META-INF/services/org.eclipse.jetty.http.HttpFieldPreEncoder so it contains the single line org.seleniumhq.jetty9.http.Http1FieldPreEncoder.

  • Create a new .jar file from the changed content.

Hope this helps! 

answered Jun 5, 2020 by kim

Related Questions In Selenium

+1 vote
0 answers

Is it possible to pass a fake media stream to Firefox with the help of a command line?

I'm currently developing a Selenium-Java based application and ...READ MORE

Jul 22, 2019 in Selenium by Vaishnavi
• 1,180 points
2,842 views
+1 vote
1 answer

according to the video download the latest version of jdk. Should i still download the jdk 8 or the jdk 13? thank you.

I think using stable version is better ...READ MORE

answered Oct 18, 2019 in Selenium by Abha
• 28,140 points
487 views
0 votes
1 answer
0 votes
1 answer

Is it possible for a website to detect that we are using Selenium with ChromeDriver

Selenium tests for pre-defined javascript variables which ...READ MORE

answered Apr 28, 2018 in Selenium by Meci Matt
• 9,460 points
5,872 views
+1 vote
2 answers
+1 vote
2 answers

Is it possible to manually set the attribute value of a Web Element using Selenium?

WebDriver driver; JavascriptExecutor js = (JavascriptExecutor) driver; js.executeScript("document.getElementById('id123').setAttribute('attr', ...READ MORE

answered Sep 4, 2020 in Selenium by Sri
• 3,190 points
26,771 views
0 votes
2 answers

How to solve the error while connecting real iOS device with Appium server?

Run Command 'ideviceinstaller in Terminal and found ...READ MORE

answered May 14, 2019 in Selenium by Siddharth
2,317 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP