eclipse使用单元测试JUnit时,提示导包失败“The type org.junit.jupiter.api.Assertions is not accessible”?

时间:2020-11-25 12:52:40   收藏:0   阅读:10

解决方案:删除工程下面的module-info.java文件即可。
技术图片
https://stackoverflow.com/questions/60431564/eclipse-java-ide-junit5-junit-jupiter-api-assertions-is-not-accessible

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!