When I try to execute selenium code in Eclipse, I get the error message 'A Java exception has occurred'. Last week the same code ran without issues.

I have done with configuration part, when we try to run simple java program then its working fine

enter image description here

  • 1
    What is your Java version, also could you cut and paste the full error from the Console tab into the question, because the error has the most important stuff at the beginning, not the end. – Niels van Reijmersdal Oct 6 '19 at 7:08

Seems similar as this question: https://stackoverflow.com/questions/39475150/a-java-error-exception-has-occured-while-trying-to-execute-selenium-webdriver

Upgrade your Java version to the latest version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.