Open Madhav1357 opened 3 years ago
getting error : java.lang.NoSuchMethodError: cucumber.runtime.formatter.PluginFactory.isStepDefinitionReporterName(Ljava/lang/String;)Z my pom.xml:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<groupId>com.first.automation</groupId> <artifactId>initial</artifactId> <version>0.0.1-SNAPSHOT</version> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.18.1</version> <!-- <configuration> <testFailureIgnore>true</testFailureIgnore> </configuration>--> <configuration> <testFailureIgnore>false</testFailureIgnore> <suiteXmlFiles> <suiteXmlFile>src/test/resources/runner/testng.xml</suiteXmlFile> </suiteXmlFiles> </configuration> </plugin> <!-- Latest Cucumber JVM Reports Plugin--> <plugin> <groupId>net.masterthought</groupId> <artifactId>maven-cucumber-reporting</artifactId> <version>5.0.0</version> <executions> <execution> <id>execution</id> <phase>verify</phase> <goals> <goal>generate</goal> </goals> <configuration> <projectName>Way2Automation Cucumber Reports</projectName> <!-- Replace with project name --> <outputDirectory>target/cucumber-reports/advanced-reports</outputDirectory> <cucumberOutput>target/cucumber-reports/cucumber.json</cucumberOutput> <buildNumber>1</buildNumber> <parallelTesting>false</parallelTesting> <skip>false</skip> <inputDirectory>${project.build.directory}/cucumber-reports</inputDirectory> <jsonFiles> <!-- supports wildcard or name pattern --> <param>**/*.json</param> </jsonFiles> <!-- optional, defaults to outputDirectory if not specified --> <classificationDirectory>${project.build.directory}/cucumber-reports</classificationDirectory> <checkBuildResult>false</checkBuildResult> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies>
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-remote-driver
getting error : java.lang.NoSuchMethodError: cucumber.runtime.formatter.PluginFactory.isStepDefinitionReporterName(Ljava/lang/String;)Z my pom.xml:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">