i am trying to create a unit test using SpringJUnit4ClassRunner but everytime i execute the test it says it cannot find SpringJUnit4ClassRunner using mvn install.
Go to pom.xml and make sure your file contain this dependency:
org.springframework spring-test 5.1.7.RELEASE
Also make sure that in this dependency is no "scope" node:
test