У меня есть проект, который работает нормально, но как только я добавляю зависимость привода загрузки Spring в pom.xml, я получаю следующую ошибку при сборке проекта ->
Error:java: cannot access org.junit.platform.commons.annotation.Testable
class file for org.junit.platform.commons.annotation.Testable not found
Consult the following stack trace for details.
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.junit.platform.commons.annotation.Testable not found
Зависимость, которую яЯ добавил ->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-actuator</artifactId>
</dependency>
Я пытался найти исправление в Интернете, но не нашел успеха.