我是jar
我的Java Swing應用程序也使用joda.time
,apache.commons
和一些其他外部jar
s。使用Eclipse進行JAR時,什麼原因導致「重複輸入」警告?
運行輸出jar
但是,Eclipse在通過導出> Java>可運行Jar生成jar
時報告了一些警告。我選擇處理外部jar
的「重新包裝」選項。這是約146行警告列表的頂部。
JAR export finished with warnings. See details for additional information.
Details:
duplicate entry: allclasses-frame.html
duplicate entry: allclasses-frame.html
duplicate entry: allclasses-noframe.html
duplicate entry: allclasses-noframe.html
duplicate entry: constant-values.html
duplicate entry: constant-values.html
duplicate entry: deprecated-list.html
duplicate entry: deprecated-list.html
duplicate entry: help-doc.html
duplicate entry: help-doc.html
duplicate entry: index-all.html
duplicate entry: index-all.html
duplicate entry: index.html
duplicate entry: index.html
duplicate entry: overview-frame.html
duplicate entry: overview-frame.html
duplicate entry: overview-summary.html
duplicate entry: overview-summary.html
duplicate entry: overview-tree.html
duplicate entry: overview-tree.html
duplicate entry: package-list
duplicate entry: package-list
duplicate entry: resources/inherit.gif
duplicate entry: resources/inherit.gif
由於這是針對桌面的Swing應用程序,大約html
和css
(未顯示)警告是頗爲意外。建議嗎?
包裝瓶的依賴放進玻璃瓶(而不是包裝類放入瓦罐)解決了這個問題了我。 – H2ONaCl 2013-01-25 18:32:24