简体   繁体   English

在 java 编码的 Eclipse 中导出 JAR 文件时出错

[英]Error in exporting JAR file in Eclipse coded in java

Whenever I export my java file to JAR file in Eclipse, it is exported but with an error message , JAR export finish with warnings . Whenever I export my java file to JAR file in Eclipse, it is exported but with an error message , JAR export finish with warnings . I am also unable to open that JAR file.我也无法打开那个 JAR 文件。 There is the same problem with every program I made.我制作的每个程序都有同样的问题。 All programs are running perfectly in Eclipse without any compilation error.所有程序都在 Eclipse 中完美运行,没有任何编译错误。 Kindly guide.请指导。

截图

Simply it means that the classes that you are try to export in jar have warnings.简单地说,您尝试在 jar 中导出的类有警告。 I advise you to recompile the code and save all, then (if everything is right) try to export again the file.我建议您重新编译代码并保存所有代码,然后(如果一切正常)尝试再次导出文件。 In extremis, close and restart Eclipse and try again.在极端情况下,关闭并重新启动 Eclipse 并重试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM