How do I include external JARs in my own Project JAR

前端 未结 6 1215
无人共我
无人共我 2021-02-20 07:26

I have a Java application and created a JAR file and deployed it.

The App uses external JARs such as the Log4J JAR. When creating my JAR file, how do I include all ext

6条回答
  •  伪装坚强ぢ
    2021-02-20 07:40

    You can use Maven + assembly plugin (http://maven.apache.org/plugins/maven-assembly-plugin/)

    BTW, probably that's not the easiest way, if you did not work with maven.

提交回复
热议问题