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 you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With