idea新建maven project工程

1.new project:

2.新建在main 下新建 java directory 并mark as  source root,这里我已经makr过java目录所以以showfor做演示:

3.新建com.xx.yy.class

4.配置pom denpendency

maven官网搜索资源:https://mvnrepository.com

6.配置pomx xml 加依赖地址:

 

 

7.补充说明:

 

posted @ 2019-08-03 16:12  不带R的墨菲特  阅读(1503)  评论(4编辑  收藏  举报