This question already has an answer here:
How can I create an executable JAR with dependencies using Maven? 33 answers
jar-with-dependencies is not correct in maven-jar-plugin. Replace maven-jar-plugin with maven-assembly-plugin look this http://www.mkyong.com/maven/create-a-fat-jar-file-maven-assembly-plugin/
链接地址:
http://www.djcxy.com/p/29634.html
上一篇:
Maven:运行创建的Jar
下一篇:
找不到课程