Failed to load Main-Class manifest attribute from
来源:互联网 发布:怎么配置java开发环境 编辑:程序博客网 时间:2024/04/29 05:14
http://cache.baiducontent.com/c?m=9d78d513d99712f406bac2690d67913b0e54f13d6186834b68d4e217c03f07564616f4bb51351174829b2f2640b8492db5a36a29635461f18cc8f9198efdd2737fcf6163645bc61f1d895fe9895124b23d8d0ab7f24cf0ba8763d2f88ec4df230f9d151824dba4cc105b47963aa1476cb9e1c255461f56e1bc6e32e20f206fcc781ef75afae037640484f6d8&p=c47cc64ad4af07ec08e2947d0a488f&newp=98769a478edb5bf012bd9b7e0e1196231610db2151d6d41227cc8917d9&user=baidu&fm=sc&query=Failed+to+local+Main-class+manifest+aatribute&qid=a564e8e60004066e&p1=2
java -jar ** .jar
原因描述:MANIFEST.MF文件中的Main-Class配置不正确或格式不正确
检查方式:以WinRarR的方式打开jar包,如图所示,
点击进入箭头所指的META-INF文件夹
将MANIFEST.MF拷贝出来进行编辑
编辑内容,示例如下:
注意好以上三个方面就应该没什么问题了
将编译好的MANIFEST.MF文件依然以WinRaR的打开方式覆盖已有的,或添加到META-INF文件夹目录下,
完事...
- Failed to load Main-Class manifest attribute from logTjOutputUtil.jar
- Failed to load Main-Class manifest attribute from
- Failed to load Main-Class manifest attribute from
- Failed to load Main-Class manifest attribute from ....
- Failed to load Main-Class manifest attribute from
- jar文件运行时:Failed to load Main-Class manifest attribute from ......解决办法
- jar文件运行时:Failed to load Main-Class manifest attribute from ......解决办法
- jar文件运行时:Failed to load Main-Class manifest attribute from ......
- 运行jar 提示 Failed to load Main-Class manifest attribute from
- jar文件运行时:Failed to load Main-Class manifest attribute from
- 运行jar 提示 Failed to load Main-Class manifest attribute from
- 运行jar 提示 Failed to load Main-Class manifest attribute from
- jar 打包java class文件后,运行jar 出现 Failed to load Main-Class manifest attribute from 错误
- no main manifest attribute
- Failed to load or instantiate TagLibraryValidator class
- general error c1010070: Failed to load and parse the manifest.
- Manifest merger failed : Attribute application@...
- res\HTTPFilter.manifest : general error c1010070: Failed to load and parse the manifest. {_~
- K-近邻算法(KNN)
- 2014国家反腐案件
- 使用模板引擎渲染HTML界面
- Oracle Gateway11g R2访问异构数据库(MSSQL)配置文档--图文详细介绍
- MATLAB图像处理_同态滤波
- Failed to load Main-Class manifest attribute from
- 学习 操作系统 会遇到的一些问题
- 管理神话之八:我还能做大量的技术工作
- 陌陌架构分享
- 使用最新 ALSA 驱动解决 UBUNTU LINUX INTEL 集成声卡问题
- CDH5.X安装配置kerberos认证过程
- 如何打造成功的数据归档策略
- 关闭笔记本默认开启num键
- 前言