How can I include external jar on my Netbeans project

后端 未结 12 2764
挽巷
挽巷 2020-11-27 06:25

When I run \"clean and build\" the .jar file that is being created only runs if the lib folder is at the same folder of the .jar file.

12条回答
  •  萌比男神i
    2020-11-27 07:23

    user1016588's solution works for me. There's one typo: this line should be zipfileset src="dist/lib/commons-io-1.4.jar" excludes="META-INF/*"

提交回复
热议问题