I have migrated from Spring to Spring-boot version 2.6.2. mvn clean install is successful but none of the junit(version 4.12) is executing. After few research I got to know that Spring-boot 2.4 onwards, JUnit4 has been removed. I tried below solutions which didn't work.