Как исправить "Импорт org.junit.jupiter"?
1 ответ
Решение
JUnit Jupiter является частью JUnit 5. Скорее всего, вы добавили более старую версию JUnit (особенно если судить по тегу junit3 в вашем вопросе).
Вам нужно добавить движок JUnit's jupiter и api jars:
- org.junit.jupiter: junit-jupiter-api: 5.2.0 - https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api/5.2.0
- org.junit.jupiter: junit-jupiter-engine: 5.2.0 - https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine/5.2.0