“duplicate entry” error when exporting Java project to JAR with Eclipse

后端 未结 6 1721
太阳男子
太阳男子 2020-12-15 16:49

I am trying to exort a Java project with Eclipse 3.6.1 to a runnable Jar. This used to work properly but failed today, afer I added some additional Jars to my class path.

6条回答
  •  感情败类
    2020-12-15 17:30

    I too had the same problem, but then I slightly modified the build settings in Eclipse to the one mentioned below.

    This solved the duplicate entry issue for me, it just copies all required jars to a subdirectory.

提交回复
热议问题