Junit Import не работает в идее IntellijJAVA

Программисты JAVA общаются здесь
Anonymous
Junit Import не работает в идее Intellij

Сообщение Anonymous »

У меня есть этот импорт в идее Intellij: < /p>
import static org.junit.jupiter.api.Assertions.*;
< /code>
И он говорит < /p>

Не может разрешить символ 'api' < /p>
< /blockquote>
package com.programming.techie;

import static org.junit.jupiter.api.Assertions.*;

class ContactManagerTest {

}
< /code>
У меня есть эти зависимости в Maven: < /p>

org.junit.jupiter
junit-jupiter
5.13.1
test



org.junit.jupiter
junit-jupiter-api
5.10.0
test



org.junit.jupiter
junit-jupiter-engine
5.10.0
test



Подробнее здесь: https://stackoverflow.com/questions/796 ... ellij-idea

Вернуться в «JAVA»