简体   繁体   中英

VS code doesn't resolve junit test

I've made java project on vs code and now I'm trying to run junit tests but vs code sees there's something wrong.I've installed JUnit JAR Downloader,Java Extension pack and Junit Testfile Generator, but the problem still exists as the image shows. Error says: package org.junit does not exist

I think this problem is caused by the incorrect placement of the package. We can put the package in the part shown in my picture to solve it.

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM