Closed BalurQA closed 5 years ago
Remove all references to io.cucumber:cucumber-xxx:3.0.2 from your pom.xml
Just keep the Courgette dependency in your pom.xml.
@prashant-ramcharan : I tried removing io.cucumber references. Now I am getting another error after removing it.
java.io.IOException: Cannot run program "java": CreateProcess error=206, The filename or extension is too long
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at courgette.runtime.CourgetteFeatureRunner.run(CourgetteFeatureRunner.java:27)
at courgette.runtime.CourgetteRunner.runFeature(CourgetteRunner.java:153)
at courgette.runtime.CourgetteRunner.lambda$run$1(CourgetteRunner.java:49)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
This is a Windows limitation.. see https://github.com/prashant-ramcharan/courgette-jvm#limitations-and-known-issues
Upgrading to Java 9 upwards resolves this issue.
Okay.. let me try by upgrading to JAVA 9
Hi @prashant-ramcharan , I used courgette-jam in my project and did all necessary in the project. But on running the testng runner class I am getting below error.
Can you please help me to resolve it. Thank you
Runner Class
Required Dependency fieles in pom.xml