1、maven项目 在lib文件夹下面引用了多个jar包,编译的时候报错。经查找和尝试各种解决办法,发现pom.xml 要自己手动添加依赖。

并不是 lib文件夹有jar包,maven依赖里面就有

2、报错:Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-dependency-plugin:2.1:copy (execution: default, phase: validate)

pom文件 中execution标记出错 ----所有plugins标记用<pluginManagement></pluginManagement>标记包起来。

 

posted on 2017-07-05 17:34  time_on  阅读(533)  评论(0编辑  收藏  举报