In pom.xml, the JUnit version property is set to a version that does not exist:
<junit.version>6.1.0</junit.version>
JUnit Jupiter is on the 5.x release line (current stable is 5.11.x). Version 6.x does not exist. This suggests either a typo or the property is not actually being used to resolve dependencies (Maven may be pulling a cached/default version instead).
Fix: Update to the correct version, e.g.:
<junit.version>5.11.0</junit.version>
And verify all JUnit dependencies resolve correctly with mvn dependency:tree.
In
pom.xml, the JUnit version property is set to a version that does not exist:JUnit Jupiter is on the 5.x release line (current stable is 5.11.x). Version 6.x does not exist. This suggests either a typo or the property is not actually being used to resolve dependencies (Maven may be pulling a cached/default version instead).
Fix: Update to the correct version, e.g.:
And verify all JUnit dependencies resolve correctly with
mvn dependency:tree.