Есть отличная удаленная работа для php+codeception+jenkins+allure+docker спецов. 100% remote! Присоединиться к проекту

ReportPortal и There was an error in the forked process

reportportal
maven
Теги: #<Tag:0x00007f7b64f04948> #<Tag:0x00007f7b64f044c0>

(Arina) #1

Доброе время суток
Не удается прикрутить listener reportportal. Кто-то решал эту проблему?

в pom вставлен такой кусок

версия 2.15

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>${maven-surefire-plugin.version}</version>
                <configuration>
                    <forkCount>${maven-surefire-plugin.forkCount}</forkCount>
                    <reuseForks>true</reuseForks>
                    <skip>${skipUnitTests}</skip>
                    <excludes>
                        <exclude>**/*IntegrationTest.java</exclude>
                    </excludes>
                    <properties>
                        <property>
                            <name>listener</name>
                            <value>com.epam.reportportal.junit.ReportPortalListener</value>
                        </property>
                    </properties>
                </configuration>
            </plugin>

Сама ошибка.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project X: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test failed: There was an error in the forked process
[ERROR] org.apache.maven.surefire.util.SurefireReflectionException: org.apache.maven.surefire.util.SurefireReflectionException: java.lang.ClassNotFoundException: com.epam.reportportal.junit.ReportPortalListener; nested exception is java.lang.ClassNotFoundException: com.epam.reportportal.junit.ReportPortalListener; nested exception is org.apache.maven.surefire.util.SurefireReflectionException: java.lang.ClassNotFoundException: com.epam.reportportal.junit.ReportPortalListener; nested exception is java.lang.ClassNotFoundException: com.epam.reportportal.junit.ReportPortalListener
[ERROR] org.apache.maven.surefire.util.SurefireReflectionException: java.lang.ClassNotFoundException: com.epam.reportportal.junit.ReportPortalListener; nested exception is java.lang.ClassNotFoundException: com.epam.reportportal.junit.ReportPortalListener
[ERROR] java.lang.ClassNotFoundException: com.epam.reportportal.junit.ReportPortalListener
[ERROR] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
[ERROR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[ERROR] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
[ERROR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[ERROR] 	at org.apache.maven.surefire.util.ReflectionUtils.loadClass(ReflectionUtils.java:243)
[ERROR] 	at org.apache.maven.surefire.util.ReflectionUtils.instantiate(ReflectionUtils.java:109)
[ERROR] 	at org.apache.maven.surefire.common.junit4.JUnit4RunListenerFactory.createCustomListeners(JUnit4RunListenerFactory.java:43)
[ERROR] 	at org.apache.maven.surefire.junit4.JUnit4Provider.<init>(JUnit4Provider.java:81)
[ERROR] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[ERROR] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[ERROR] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[ERROR] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[ERROR] 	at org.apache.maven.surefire.util.ReflectionUtils.instantiateOneArg(ReflectionUtils.java:130)
[ERROR] 	at org.apache.maven.surefire.booter.ForkedBooter.createProviderInCurrentClassloader(ForkedBooter.java:227)
[ERROR] 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:196)
[ERROR] 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
[ERROR] 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
[ERROR] 

Чего может не хватать?


(Борис Осипов) #2

@LaFee покажите весь pom.xml


(Arina) #3
<?xml version="1.0" encoding="UTF-8"?> 4.0.0
<groupId>NAME.GROUP</groupId>
<artifactId>NAME.PROJECT</artifactId>
<version>1.2.0</version>
<packaging>jar</packaging>

<name>NAME-PROJECT</name>
<description>NAME-PROJECT service</description>

<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <java.version>1.8</java.version>
    <spring-boot.version>1.5.12.RELEASE</spring-boot.version>
    <spring-cloud-consul.version>1.3.3.RELEASE</spring-cloud-consul.version>
    <maven.compiler.plugin>3.7.0</maven.compiler.plugin>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
    <sonar.coverage.exclusions>**/entity/*,**/model/**,**/config/*,**/exception/*,**/repository/*,**/handler/*</sonar.coverage.exclusions>

    <x.java-libs-release.version>7.46.0</x.java-libs-release.version>
    <consul.property.pusher.version>1.0.0</consul.property.pusher.version>
    <aspectj.version>1.7.3</aspectj.version>
    <swagger.version>2.8.0</swagger.version>
    <usertype-jodatime.version>5.0.0.GA</usertype-jodatime.version>
    <joda-time.version>2.9.3</joda-time.version>
    <postgresql.version>9.4-1202-jdbc41</postgresql.version>
    <flyway.version>5.0.7</flyway.version>
    <jacoco-maven-plugin.version>0.8.1</jacoco-maven-plugin.version>
    <redisson.version>3.6.5</redisson.version>
    <commons-lang3.version>3.7</commons-lang3.version>
    <commons-collection.version>4.1</commons-collection.version>
    <manager.web.client.version>1.7.0</manager.web.client.version>
    <maven-surefire-plugin.version>2.15</maven-surefire-plugin.version>
    <maven-surefire-plugin.forkCount>1</maven-surefire-plugin.forkCount>
    <skipUnitTests>false</skipUnitTests>
    <junit.jupiter.version>5.1.0</junit.jupiter.version>
    <junit.platform.version>1.1.0</junit.platform.version>
    <junit.vintage.version>5.1.0</junit.vintage.version>
    <mockito.version>2.16.0</mockito.version>
    <spring-vault-core.version>1.1.0.RELEASE</spring-vault-core.version>
    <jackson.version>2.9.5</jackson.version>
    <postgresql-embedded.version>2.6</postgresql-embedded.version>
    <infra-vault.version>2.4.1</infra-vault.version>
</properties>

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-dependencies</artifactId>
            <version>${spring-boot.version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
        <dependency>
            <groupId>com.x</groupId>
            <artifactId>java-core-libs-bom</artifactId>
            <version>${x.java-libs-release.version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

<dependencies>
    <!-- JWT authentication -->
    <dependency>
        <groupId>com.x</groupId>
        <artifactId>manager-authentication-client</artifactId>
        <version>95.9.0</version>
        <exclusions>
            <exclusion>
                <groupId>com.x.infra</groupId>
                <artifactId>infra-comm-messages</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>com.x.infra</groupId>
        <artifactId>infra-vault</artifactId>
        <version>${infra-vault.version}</version>
    </dependency>

    <!-- spring security -->
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-security</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.vault</groupId>
        <artifactId>spring-vault-core</artifactId>
        <version>${spring-vault-core.version}</version>
    </dependency>

    <dependency>
        <groupId>com.x.infra</groupId>
        <artifactId>consul-property-pusher</artifactId>
        <version>${consul.property.pusher.version}</version>
    </dependency>
    <dependency>
        <groupId>javax.validation</groupId>
        <artifactId>validation-api</artifactId>
        <version>2.0.1.Final</version>
    </dependency>
    <dependency>
        <groupId>com.x.infra</groupId>
        <artifactId>infra-healthcheck-spring</artifactId>
        <version>91.0.0</version>
        <exclusions>
            <exclusion>
                <groupId>org.jboss.spec.javax.jms</groupId>
                <artifactId>jboss-jms-api_2.0_spec</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <!--<dependency>-->
        <!--<groupId>com.fasterxml.jackson.core</groupId>-->
        <!--<artifactId>jackson-core</artifactId>-->
        <!--<version>${jackson.version}</version>-->
        <!--<scope>compile</scope>-->
    <!--</dependency>-->
    <!--<dependency>-->
        <!--<groupId>com.fasterxml.jackson.core</groupId>-->
        <!--<artifactId>jackson-databind</artifactId>-->
        <!--<version>${jackson.version}</version>-->
        <!--<scope>compile</scope>-->
    <!--</dependency>-->
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
        <version>${spring-boot.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-hateoas</artifactId>
        <version>${spring-boot.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-consul-config</artifactId>
        <version>${spring-cloud-consul.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-data-jpa</artifactId>
        <version>${spring-boot.version}</version>
        <exclusions>
            <exclusion>
                <groupId>org.apache.tomcat</groupId>
                <artifactId>tomcat-jdbc</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-core</artifactId>
        <version>5.2.16.Final</version>
    </dependency>
    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-entitymanager</artifactId>
        <version>5.2.16.Final</version>
    </dependency>
    <dependency>
        <groupId>org.hibernate.validator</groupId>
        <artifactId>hibernate-validator</artifactId>
        <version>6.0.9.Final</version>
    </dependency>
    <dependency>
        <groupId>org.hibernate.validator</groupId>
        <artifactId>hibernate-validator-annotation-processor</artifactId>
        <version>6.0.9.Final</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-autoconfigure</artifactId>
        <version>${spring-boot.version}</version>
    </dependency>
    <dependency>
        <groupId>com.x.infra</groupId>
        <artifactId>x-sleuth-starter</artifactId>
    </dependency>


    <!-- for easy to use rest API -->
    <dependency>
        <groupId>io.springfox</groupId>
        <artifactId>springfox-swagger2</artifactId>
        <version>${swagger.version}</version>
    </dependency>
    <dependency>
        <groupId>io.springfox</groupId>
        <artifactId>springfox-swagger-ui</artifactId>
        <version>${swagger.version}</version>
    </dependency>

    <!--Database dependencies-->
    <dependency>
        <groupId>org.postgresql</groupId>
        <artifactId>postgresql</artifactId>
        <version>${postgresql.version}</version>
    </dependency>
    <dependency>
        <groupId>com.zaxxer</groupId>
        <artifactId>HikariCP</artifactId>
    </dependency>
    <dependency>
        <groupId>org.flywaydb</groupId>
        <artifactId>flyway-core</artifactId>
        <version>${flyway.version}</version>
    </dependency>
    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-jpamodelgen</artifactId>
    </dependency>

    <dependency>
        <groupId>com.fasterxml.jackson.datatype</groupId>
        <artifactId>jackson-datatype-jsr310</artifactId>
        <scope>compile</scope>
    </dependency>
    <dependency>
        <groupId>com.fasterxml.jackson.datatype</groupId>
        <artifactId>jackson-datatype-jdk8</artifactId>
    </dependency>
    <dependency>
        <groupId>joda-time</groupId>
        <artifactId>joda-time</artifactId>
        <version>${joda-time.version}</version>
        <scope>compile</scope>
    </dependency>
    <dependency>
        <groupId>org.aspectj</groupId>
        <artifactId>aspectjrt</artifactId>
        <version>${aspectj.version}</version>
    </dependency>
    <dependency>
        <groupId>org.aspectj</groupId>
        <artifactId>aspectjtools</artifactId>
        <version>${aspectj.version}</version>
    </dependency>
    <dependency>
        <groupId>org.redisson</groupId>
        <artifactId>redisson</artifactId>
        <version>${redisson.version}</version>
    </dependency>
    <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-lang3</artifactId>
        <version>${commons-lang3.version}</version>
    </dependency>
    <dependency>
        <groupId>com.x.client</groupId>
        <artifactId>manager-web-client</artifactId>
        <version>${manager.web.client.version}</version>
    </dependency>
    <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-collections4 -->
    <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-collections4</artifactId>
        <version>${commons-collection.version}</version>
    </dependency>

    <!--test dependencies-->
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>ru.yandex.qatools.embed</groupId>
        <artifactId>postgresql-embedded</artifactId>
        <version>${postgresql-embedded.version}</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.mockito</groupId>
        <artifactId>mockito-core</artifactId>
        <version>${mockito.version}</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.junit.jupiter</groupId>
        <artifactId>junit-jupiter-api</artifactId>
        <version>${junit.jupiter.version}</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.junit.jupiter</groupId>
        <artifactId>junit-jupiter-params</artifactId>
        <version>${junit.jupiter.version}</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.junit.jupiter</groupId>
        <artifactId>junit-jupiter-engine</artifactId>
        <version>${junit.jupiter.version}</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.junit.vintage</groupId>
        <artifactId>junit-vintage-engine</artifactId>
        <version>${junit.vintage.version}</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.junit.platform</groupId>
        <artifactId>junit-platform-surefire-provider</artifactId>
        <version>1.0.2</version>
        <scope>test</scope>
    </dependency>
</dependencies>

<build>
    <finalName>${project.artifactId}</finalName>

    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>${maven.compiler.plugin}</version>
            <configuration>
                <source>${maven.compiler.source}</source>
                <target>${maven.compiler.target}</target>
                <compilerArguments>
                    <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
                </compilerArguments>
            </configuration>
        </plugin>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <version>${maven-surefire-plugin.version}</version>
            <configuration>
                <forkCount>${maven-surefire-plugin.forkCount}</forkCount>
                <reuseForks>true</reuseForks>
                <skip>${skipUnitTests}</skip>
                <excludes>
                    <exclude>**/*IntegrationTest.java</exclude>
                </excludes>
                <properties>
                    <property>
                        <name>listener</name>
                        <value>com.epam.reportportal.junit.ReportPortalListener</value>
                    </property>
                </properties>
            </configuration>
        </plugin>

        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <version>${spring-boot.version}</version>
            <configuration>
                <executable>true</executable>
            </configuration>
            <executions>
                <execution>
                    <goals>
                        <goal>repackage</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
        <plugin>
            <groupId>org.jacoco</groupId>
            <artifactId>jacoco-maven-plugin</artifactId>
            <version>${jacoco-maven-plugin.version}</version>
            <configuration>
                <excludes>
                    <exclude>${sonar.coverage.exclusions}</exclude>
                </excludes>
                <destFile>${project.basedir}/target/jacoco.exec</destFile>
                <append>true</append>
            </configuration>
            <executions>
                <execution>
                    <id>agent</id>
                    <goals>
                        <goal>prepare-agent</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

<distributionManagement>
    <repository>
        <id>deployment</id>
        <name>Internal Releases</name>
        <url>https://nexus.x.com/nexus/content/repositories/releases/</url>
    </repository>
    <snapshotRepository>
        <id>deployment</id>
        <name>Internal Releases</name>
        <url>https://nexus.x.com/nexus/content/repositories/snapshots/</url>
    </snapshotRepository>
</distributionManagement>

<repositories>
    <repository>
        <id>deployment</id>
        <name>Internal Releases</name>
        <url>https://nexus.x.com/nexus/content/repositories/releases/</url>
        <releases>
            <enabled>true</enabled>
        </releases>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
    </repository>
    <repository>
        <id>jboss-3rd-party-releases</id>
        <url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/</url>
    </repository>
    <repository>
        <id>spring-milestones</id>
        <name>Spring Milestones</name>
        <url>https://repo.spring.io/libs-milestone</url>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
    </repository>
</repositories>

(Arina) #4

и второй в папке с тестами

<?xml version="1.0" encoding="UTF-8"?> 4.0.0
<groupId>com.name.group</groupId>
<artifactId>test</artifactId>
<version>1.0-SNAPSHOT</version>

<properties>
    <rest-assured.version>3.0.7</rest-assured.version>
    <postgresql.version>9.4-1202-jdbc41</postgresql.version>
    <common.jwt.version>89.8.0</common.jwt.version>
    <json.version>20170516</json.version>
    <junit.jupiter.version>5.1.0</junit.jupiter.version>
    <junit.platform.version>1.1.0</junit.platform.version>
    <x.java-libs-release.version>5.31.0</x.java-libs-release.version>
    <manager-authentication-client.version>95.9.0</manager-authentication-client.version>
    <commonXVersion>1.9.0</commonXVersion>
</properties>

<repositories>
    <repository>
        <id>central</id>
        <url>http://repo1.maven.org/maven2/</url>
    </repository>
    <repository>
        <id>jboss-3rd-party-releases</id>
        <url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/</url>
    </repository>
    <repository>
        <id>release-deployment</id>
        <name>Internal Releases</name>
        <url>https://nexus.x.com/nexus/content/repositories/releases/</url>
    </repository>
    <repository>
        <id>bintray-epam-reportportal</id>
        <name>bintray epam</name>
        <url>http://dl.bintray.com/epam/reportportal</url>
    </repository>
</repositories>

<build>
    <plugins>
        <plugin>
            <artifactId>maven-surefire-plugin</artifactId>
            <version>2.19.1</version>
            <configuration>
                <includes>
                    <include>**/Test*.java</include>
                    <include>**/*Test.java</include>
                    <include>**/*Tests.java</include>
                    <include>**/*TestCase.java</include>
                </includes>
            </configuration>
            <dependencies>
                <dependency>
                    <groupId>org.junit.platform</groupId>
                    <artifactId>junit-platform-surefire-provider</artifactId>
                    <version>${junit.platform.version}</version>
                </dependency>
            </dependencies>
        </plugin>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
                <source>8</source>
                <target>8</target>
            </configuration>
        </plugin>
    </plugins>
</build>

<dependencies>
    <dependency>
        <groupId>org.postgresql</groupId>
        <artifactId>postgresql</artifactId>
        <version>${postgresql.version}</version>
    </dependency>
    <dependency>
        <groupId>com.x</groupId>
        <artifactId>java-core-libs-bom</artifactId>
        <version>${x.java-libs-release.version}</version>
        <type>pom</type>
    </dependency>
    <!-- JWT authentication -->
    <dependency>
        <groupId>com.x</groupId>
        <artifactId>manager-authentication-client</artifactId>
        <version>${manager-authentication-client.version}</version>
        <scope>compile</scope>
    </dependency>
    <dependency>
        <groupId>org.json</groupId>
        <artifactId>json</artifactId>
        <version>${json.version}</version>
    </dependency>
    <dependency>
        <groupId>io.rest-assured</groupId>
        <artifactId>rest-assured</artifactId>
        <version>${rest-assured.version}</version>
    </dependency>
    <dependency>
        <groupId>com.x.common</groupId>
        <artifactId>common-jwt</artifactId>
        <version>${common.jwt.version}</version>
    </dependency>
    <dependency>
        <groupId>org.junit.jupiter</groupId>
        <artifactId>junit-jupiter-api</artifactId>
        <version>${junit.jupiter.version}</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.junit.jupiter</groupId>
        <artifactId>junit-jupiter-params</artifactId>
        <version>${junit.jupiter.version}</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.junit.jupiter</groupId>
        <artifactId>junit-jupiter-engine</artifactId>
        <version>${junit.jupiter.version}</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>com.x.common</groupId>
        <artifactId>common-x</artifactId>
        <version>${commonXVersion}</version>
        <scope>test</scope>
    </dependency>
</dependencies>

(Борис Осипов) #5

Зависимость в pom.xml забыли добавить?

<dependency>
  <groupId>com.epam.reportportal</groupId>
  <artifactId>agent-java-junit</artifactId>
  <version>2.7.2</version>
  <type>pom</type>
</dependency>

(Arina) #6

хм, да, во 2м pom ее нет. Добавлю в понедельник и узнаю, отпишусь. Спасибо!!


(Arina) #7

в общем, почему-то не помогло

падает с той же ошибкой, попробую прикрутить другим способом


[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project fraud-inspector: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test failed: There was an error in the forked process
[ERROR] org.apache.maven.surefire.util.SurefireReflectionException: org.apache.maven.surefire.util.SurefireReflectionException: java.lang.ClassNotFoundException: com.epam.reportportal.junit.ReportPortalListener; nested exception is java.lang.ClassNotFoundException: com.epam.reportportal.junit.ReportPortalListener; nested exception is org.apache.maven.surefire.util.SurefireReflectionException: java.lang.ClassNotFoundException: com.epam.reportportal.junit.ReportPortalListener; nested exception is java.lang.ClassNotFoundException: com.epam.reportportal.junit.ReportPortalListener
[ERROR] org.apache.maven.surefire.util.SurefireReflectionException: java.lang.ClassNotFoundException: com.epam.reportportal.junit.ReportPortalListener; nested exception is java.lang.ClassNotFoundException: com.epam.reportportal.junit.ReportPortalListener
[ERROR] java.lang.ClassNotFoundException: com.epam.reportportal.junit.ReportPortalListener
[ERROR] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
[ERROR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[ERROR] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
[ERROR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[ERROR] 	at org.apache.maven.surefire.util.ReflectionUtils.loadClass(ReflectionUtils.java:243)
[ERROR] 	at org.apache.maven.surefire.util.ReflectionUtils.instantiate(ReflectionUtils.java:109)
[ERROR] 	at org.apache.maven.surefire.common.junit4.JUnit4RunListenerFactory.createCustomListeners(JUnit4RunListenerFactory.java:43)