日期:2014-05-20  浏览次数:21263 次

Duplicate name in Manifest (程序打包运行提示警告)
警告:   Duplicate   name   in   Manifest:   Implementation-Version
007-6-28   15:36:30   java.util.jar.Attributes   read
警告:   Duplicate   name   in   Manifest:   Implementation-Vendor
007-6-28   15:36:30   java.util.jar.Attributes   read
警告:   Duplicate   name   in   Manifest:   Implementation-URL
007-6-28   15:36:30   java.util.jar.Attributes   read
警告:   Duplicate   name   in   Manifest:   Comment
007-6-28   15:36:30   java.util.jar.Attributes   read
警告:   Duplicate   name   in   Manifest:   Specification-Title
007-6-28   15:36:30   java.util.jar.Attributes   read
警告:   Duplicate   name   in   Manifest:   Specification-Version
007-6-28   15:36:30   java.util.jar.Attributes   read
警告:   Duplicate   name   in   Manifest:   Specification-Vendor
007-6-28   15:36:30   java.util.jar.Attributes   read
警告:   Duplicate   name   in   Manifest:   Implementation-Title
007-6-28   15:36:30   java.util.jar.Attributes   read
警告:   Duplicate   name   in   Manifest:   Implementation-Version
007-6-28   15:36:30   java.util.jar.Attributes   read
警告:   Duplicate   name   in   Manifest:   Implementation-Vendor
007-6-28   15:36:30   java.util.jar.Attributes   read
警告:   Duplicate   name   in   Manifest:   Implementation-URL


我用的是Eclips   fat   打的jar   包,MANIFEST.MF   文件中没有定义主类的路径?请问如何解决?


------解决方案--------------------
帮你顶,等高手
------解决方案--------------------
则们会没人会呢?真搞不懂,csdn的高手都哪里去了?
------解决方案--------------------
修改 manifest.mf 文件
加一行
main-class: abc.def.Gih