Test类添加后 报错:程序包org.junit不存在解决


 

 junit 
junit 
4.7
 
 test 

test注释掉即可

如下:

 


   junit
   junit
   4.7
 

原因:scope的作用范围问题,注释掉即可

你可能感兴趣的:(java)