In my intellij, no folder of project is created in my files, and after running any file it is automatically deleting, i reset all the settings of it, after that it is running file without deleting it but still there is no folder of saved files in my pc., can you please help in this matter?
Hi Sir, I'm getting the below errors when I run cucumber feature file. Can you please help on the suggestions May 07, 2024 11:59:53 PM cucumber.api.cli.Main run WARNING: You are using deprecated Main class. Please use io.cucumber.core.cli.Main io.cucumber.core.exception.CompositeCucumberException: There were 2 exceptions. The details are in the stacktrace below. at io.cucumber.core.runtime.RethrowingThrowableCollector.getThrowable(RethrowingThrowableCollector.java:57) at io.cucumber.core.runtime.CucumberExecutionContext.getThrowable(CucumberExecutionContext.java:109) at io.cucumber.core.runtime.Runtime.run(Runtime.java:78) at io.cucumber.core.cli.Main.run(Main.java:87) at cucumber.api.cli.Main.run(Main.java:30) at cucumber.api.cli.Main.main(Main.java:15) Suppressed: java.lang.UnsupportedClassVersionError: org/openqa/selenium/WebDriver has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52. at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.lang.Class.getDeclaredMethods0(Native Method) at io.cucumber.java.MethodScanner.safelyGetMethods(MethodScanner.java:39) at io.cucumber.java.MethodScanner.scan(MethodScanner.java:32) at io.cucumber.java.JavaBackend.lambda$loadGlue$2(JavaBackend.java:41) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at io.cucumber.core.runtime.SingletonRunnerSupplier.createRunner(SingletonRunnerSupplier.java:44) Suppressed: java.lang.UnsupportedClassVersionError: org/openqa/selenium/WebDriver has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method)
Top 5 Latest Trends of Automation Testing | Latest Trends in Automation Testing |
th-cam.com/video/vbF4hyeQAMg/w-d-xo.html
Thank so much for this helpful video!
You are so welcome! Thank you for Your Support 🙏☺️ . Please Make Sure to Like the Video and Subscribe the Channel
There is a file not found exception that I am getting but the xml file present in that location
In my intellij, no folder of project is created in my files, and after running any file it is automatically deleting, i reset all the settings of it, after that it is running file without deleting it but still there is no folder of saved files in my pc., can you please help in this matter?
sir mera too module bhi bana hain tab bhi error aaraha
dm me at instagram with @automatewithamit I will try to help from there. send me pic of error
thank you very helpful
Thanks for your kind words.
I am happy that it helped
Please make sure to Subscribe the channel for further awesome content ☺️
I am getting error of
Java: cannot find symbol
symbol: class string
Location: class main
please help me 😢😢😢😢
Please share with me error details in order to help.😊
@@automatewithamit but where please tell me so that I can send you pic..
use my instagram handle @automatewithamit
My problem is sowing
Why AI will not replace Automation Testers ?
th-cam.com/video/b7QB6EoBGmI/w-d-xo.html
Bhai ye video 1min m bhi jhtm ho skta tha tune whatever bol bol ke frustrate kr diya
Thanks for your Suggestion Bro ! will try to improve ☺️🙏
Hi Sir,
I'm getting the below errors when I run cucumber feature file. Can you please help on the suggestions
May 07, 2024 11:59:53 PM cucumber.api.cli.Main run
WARNING: You are using deprecated Main class. Please use io.cucumber.core.cli.Main
io.cucumber.core.exception.CompositeCucumberException: There were 2 exceptions. The details are in the stacktrace below.
at io.cucumber.core.runtime.RethrowingThrowableCollector.getThrowable(RethrowingThrowableCollector.java:57)
at io.cucumber.core.runtime.CucumberExecutionContext.getThrowable(CucumberExecutionContext.java:109)
at io.cucumber.core.runtime.Runtime.run(Runtime.java:78)
at io.cucumber.core.cli.Main.run(Main.java:87)
at cucumber.api.cli.Main.run(Main.java:30)
at cucumber.api.cli.Main.main(Main.java:15)
Suppressed: java.lang.UnsupportedClassVersionError: org/openqa/selenium/WebDriver has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.lang.Class.getDeclaredMethods0(Native Method)
at io.cucumber.java.MethodScanner.safelyGetMethods(MethodScanner.java:39)
at io.cucumber.java.MethodScanner.scan(MethodScanner.java:32)
at io.cucumber.java.JavaBackend.lambda$loadGlue$2(JavaBackend.java:41)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at io.cucumber.core.runtime.SingletonRunnerSupplier.createRunner(SingletonRunnerSupplier.java:44)
Suppressed: java.lang.UnsupportedClassVersionError: org/openqa/selenium/WebDriver has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
By looking at the error it seems that its an issue with Version of JRE you're using
@@automatewithamit Yes, it was. It's resolved now. Thanks for reply