Intellij “java: package org.junit does not exist”

后端 未结 5 1926
遥遥无期
遥遥无期 2021-02-07 17:33

When i try to run my test i get the following Errors: I looked up on google and found somthing on google but this didn\'t help.

Error:(3, 24) java: package org.j         


        
5条回答
  •  情书的邮戳
    2021-02-07 18:21

    I had the same problem. In order to fix it I had to Open Module Settings for my project and manually add jar Dependencies junit-4.12.jar and hamcrest-core-1.3.jar which are contained in the IntelliJ installation lib directory.

提交回复
热议问题