t.me/atinfo_chat Telegram группа по автоматизации тестирования

Ошибка при запуске тестов с Allure2: java.lang.NoSuchMethodError

Проблема (Вопрос) заключается …
Запускаю тесты на виртуальной машине и получаю вот такую ошибку. Кажется ругается на Alure2. Подскажите что может быть не так?(

io.qameta.allure.model.StepResult.setStatus(Lio/qameta/allure/model/Status;)V
java.lang.NoSuchMethodError: io.qameta.allure.model.StepResult.setStatus(Lio/qameta/allure/model/Status;)V
	at com.epam.jdi.light.logger.AllureLogger.lambda$0(AllureLogger.java:43)
	at io.qameta.allure.AllureLifecycle.updateStep(AllureLifecycle.java:520)
	at com.epam.jdi.light.logger.AllureLogger.failStep(AllureLogger.java:43)
	at com.epam.jdi.light.actions.ActionHelper.logFailure(ActionHelper.java:305)
	at com.epam.jdi.light.actions.ActionHelper.actionFailed(ActionHelper.java:274)
	at com.epam.jdi.tools.func.JFunc2.execute(JFunc2.java:14)
	at com.epam.jdi.light.actions.ActionProcessor.jdiAround(ActionProcessor.java:35)
	at com.epam.jdi.light.elements.common.UIElement.click(UIElement.java:119)
	at com.epam.jdi.light.elements.interfaces.base.HasClick.click(HasClick.java:11)
	at com.store.site.NavigationThroughSite.comeToGuideMePage(NavigationThroughSite.java:975)
	at com.store.tests.guideMe.GuideMeFunctionalityTests.checkGuideMePageLooksAsExpected(GuideMeFunctionalityTests.java:30)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
	at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:584)
	at org.testng.internal.TestInvoker.retryFailed(TestInvoker.java:204)
	at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:58)
	at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:804)
	at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:145)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Мой pom.xml выглядит так

<?xml version="1.0" encoding="UTF-8"?>
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>marek.automation</groupId>
    <artifactId>marek.automation</artifactId>
    <version>1.0-SNAPSHOT</version>
    <name>Marek Portal Tests</name>
    <description>Autotests for Marek Portal</description>

    <properties>
        <config_file>win.properties</config_file>
        <!--<driver.version>76.0.3809.87</driver.version> -->
        <driver>chrome</driver>
        <!--<driver.folder>C:\\driver</driver.folder>-->
        <size>1800X1326</size>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <allure.version>2.10</allure.version>
        <aspectj.version>1.9.5</aspectj.version>
        <!--The table.cell(1,1) functionality were broken in the new version
         But the test.properties were made parametrized also in this version. -->
        <jdi.light.version.html>1.2.16</jdi.light.version.html>
        <testng.version>7.0.0</testng.version>
        <bonigarcia.version>3.7.1</bonigarcia.version>
        <slf4j.version>1.8.0-beta0</slf4j.version>
        <allure.commons.version>2.0-BETA15</allure.commons.version>
        <allure.plugin.version>2.13.5</allure.plugin.version>
        <selenium.version>4.0.0-alpha-3</selenium.version>
        <allure.maven.version>2.9</allure.maven.version>
        <maven.surefire.version>2.22.2</maven.surefire.version>
        <suiteXmlFile>general</suiteXmlFile>
    </properties>


    <dependencies>
        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-java</artifactId>
            <version>${selenium.version}</version>
        </dependency>
        <!-- JDI :: Tool for covering WebElements which shows the actions based on the type of the element -->
        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <version>${testng.version}</version>
        </dependency>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>28.1-jre</version>
        </dependency>
        <!--JDI-->
        <dependency>
            <groupId>com.epam.jdi</groupId>
            <artifactId>jdi-light-html</artifactId>
            <version>${jdi.light.version.html}</version>
        </dependency>
        <dependency>
            <groupId>io.github.bonigarcia</groupId>
            <artifactId>webdrivermanager</artifactId>
            <version>${bonigarcia.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>log4j</groupId>
                    <artifactId>log4j</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>io.qameta.allure</groupId>
            <artifactId>allure-testng</artifactId>
            <version>${allure.plugin.version}</version>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>junit</groupId>
                    <artifactId>junit</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>io.qameta.allure</groupId>
            <artifactId>allure-java-commons</artifactId>
            <version>${allure.plugin.version}</version>
        </dependency>
        <dependency>
            <groupId>io.qameta.allure</groupId>
            <artifactId>allure-plugin-api</artifactId>
            <version>${allure.plugin.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.7.25</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>jcl-over-slf4j</artifactId>
            <version>${slf4j.version}</version>
        </dependency>
        <dependency>
            <groupId>org.javamoney</groupId>
            <artifactId>moneta</artifactId>
            <version>1.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
            <version>3.9</version>
        </dependency>
        <dependency>
            <groupId>io.rest-assured</groupId>
            <artifactId>rest-assured</artifactId>
            <version>3.2.0</version>
            <!--<scope>test</scope>-->
        </dependency>

        <dependency>
            <groupId>org.assertj</groupId>
            <artifactId>assertj-core</artifactId>
            <version>3.11.1</version>
        </dependency>
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>2.5</version>
        </dependency>
        <dependency>
            <groupId>de.retest</groupId>
            <artifactId>recheck-web</artifactId>
            <version>1.6.0</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <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>${maven.surefire.version}</version>
                <configuration>
                    <systemPropertyVariables>
                    </systemPropertyVariables>
                    <suiteXmlFiles>
                        <suiteXmlFile>src/test/resources/debug.xml</suiteXmlFile>
                    </suiteXmlFiles>
                    <testFailureIgnore>true</testFailureIgnore>
                    <argLine>
                        -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
                    </argLine>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>org.aspectj</groupId>
                        <artifactId>aspectjweaver</artifactId>
                        <version>${aspectj.version}</version>
                    </dependency>
                </dependencies>
            </plugin>
            <plugin>
                <groupId>io.qameta.allure</groupId>
                <artifactId>allure-maven</artifactId>
                <version>${allure.maven.version}</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>report</goal>
                        </goals>
                        <phase>post-integration-test</phase>
                    </execution>
                </executions>
                <configuration>
                    <resultsDirectory>target/site/allure-results</resultsDirectory>
                    <reportDirectory>target/site/allure-report</reportDirectory>
                    <!--<reportVersion>1.4.15</reportVersion>-->
                </configuration>
            </plugin>
            <!--Needed only to show reports locally. Run jetty:run and
            open localhost:8080 to show the report-->
            <plugin>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-maven-plugin</artifactId>
                <version>9.2.10.v20150310</version>
                <configuration>
                    <webAppSourceDirectory>${project.build.directory}/site/allure-maven-plugin</webAppSourceDirectory>
                    <stopKey>stop</stopKey>
                    <stopPort>1234</stopPort>
                </configuration>
            </plugin>
        </plugins>
        <resources>
            <resource>
                <directory>src/test/resources</directory>
                <filtering>true</filtering>
            </resource>
        </resources>
    </build>

    <reporting>
        <excludeDefaults>true</excludeDefaults>
        <plugins>
            <plugin>
                <groupId>io.qameta.allure</groupId>
                <artifactId>allure-maven</artifactId>
                <version>${allure.maven.version}</version>
                <configuration>
                    <reportDirectory>${project.build.directory}/allure-report</reportDirectory>
                </configuration>
            </plugin>
        </plugins>
    </reporting>

    <profiles>
        <profile>
            <id>general</id>
            <properties>
                <testng.config>debug.xml</testng.config>
            </properties>
        </profile>
    </profiles>

</project>

Может быть, в этой версии аллюра нет данного метода?