我有一个可以正常工作的项目,但是一旦我在pom.xml中添加Spring boot作动器依赖项,我在构建项目时就会收到以下错误->
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>
我尝试过在线查找修复程序,但未成功。