While running test cases from IntelliJ - facing this issue. mvn clean install works fine though.
Anyone faced this issue before ?
While running test cases from IntelliJ - facing this issue. mvn clean install works fine though.
Anyone faced this issue before ?
Try to use a JUnit 4 dependency in your maven project. https://mvnrepository.com/artifact/junit/junit/4.12
<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
If has an Annotation @Ignore on Class,this exception will be reported,could comment this annotation.