通过ECLIPSE 输出JAR包出现的错误提示!而且发现部分类没有打进包中!谢谢

解决方案 »

  1.   

    with warnings,不是errors,没关系,相信你的工程编译的时候少不了一些warning
    至于不分类没有打进包中,是你自己没选上吧
      

  2.   

    JAR creation failed. See details for additional information.
      /httpunit/META-INF/MANIFEST.MF was replaced by the generated MANIFEST.MF and is no longer in the JAR.
      Resource is out of sync with the file system: /httpunit/conf/config.xml.
      Resource is out of sync with the file system: /httpunit/conf/config.xml.bak.
    又增加了一个错误提示,但这个错误,我没有改程序!
      

  3.   

    META-INF/MANIFEST.MF 这个文件没有用吧!不用打到包中吧!
      

  4.   

    第二个问题是我把config.xml文件通过记事本打开了照成的!
      

  5.   

    我用eclipse向外导出jar的时候也遇到了问题,而且不光有warning还有
      Problem writing /myApp/WEB-INF/classes/com/gd/action/Action.class to JAR: duplicate entry: com/gd/action/Action.class
     这一句麻烦高手给解释一下
      

  6.   

    我以前遇到过打包报错后,我重建了一个项目,然后导入class就可以打包了(笨办法).
    你可以试试.