Когда я запускаю MVN Clean Install , я получил эти ошибки, как правильный способ решить эту проблему? Я попытался изменить версию Junit-Jupiter на 5.7.0, но это вызывает больше ошибок, может ли кто-нибудь помочь мне в этом? < /P>
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireUpperBoundDeps failed with message:
Failed while enforcing RequireUpperBoundDeps. The error(s) are [
Require upper bound dependencies error for org.junit.jupiter:junit-jupiter-api:5.5.2 paths to dependency are:
+-my-service:1.0.0-SNAPSHOT
+-org.junit.jupiter:junit-jupiter-api:5.5.2
and
+-my-service:1.0.0-SNAPSHOT
+-org.junit.jupiter:junit-jupiter-engine:5.5.2
+-org.junit.jupiter:junit-jupiter-api:5.5.2
and
+-my-service:1.0.0-SNAPSHOT
+-org.springframework.boot:spring-boot-starter-test:2.4.1
+-org.junit.jupiter:junit-jupiter:5.7.0
+-org.junit.jupiter:junit-jupiter-api:5.5.2 (managed)
Подробнее здесь: https://stackoverflow.com/questions/678 ... th-message