The import junit cannot be resolved解决问题

第一次安装Junit,配置环境之后发现添加语句import junit.framework.TestCase; 编译错误

解决:项目右键Properties->Java Build Path->Libraries->add library->Juint->next->finish

猜你喜欢

转载自www.cnblogs.com/sea-stream/p/11897440.html