how to fix "The import org.junit.jupiter"?

9.7k views Asked by At

I'm working on MMU project and I don't know how to fix this error on @Test annotation.

enter image description here

How I can fix it? I have added JUnit library but that's not working.

1

There are 1 answers

0
Mureinik On BEST ANSWER

JUnit Jupiter is part of JUnit 5. Chances are you've added an older version of JUnit (especially judging by the tag in your question).

You need to add JUnit's Jupiter's engine and api jars: