You are probably picking up JUnit3 on your classpath somewhere, which effectively disables JUnit4.
Run mvn dependency:tree
to find out where it’s coming in from and add exclude if from the dependency.
You are probably picking up JUnit3 on your classpath somewhere, which effectively disables JUnit4.
Run mvn dependency:tree
to find out where it’s coming in from and add exclude if from the dependency.