idea添加marven支持

搭建SSH框架时候用到的,因为idea的junit插件不知为什么用不了,决定自己添加junit所需包。

1.项目右键,add framework support。

jar包配置搜索
地址:http://mvnrepository.com/

2.project structure 把junit包scope改为complie

这时org.junit.test等包就可以用了。

 

posted @ 2017-08-03 11:27  John_leaf  阅读(316)  评论(0编辑  收藏  举报