eclipse java jar manifest.mf文件导入第三方jar及could not find the main class.
以下是manifest.mf文件的例子:
Manifest-Version: 1.0
Main-Class: FSDemo
Class-Path: lib/hadoop-0.20.2-core.jar lib/commons-logging-1.1.1.jar
注意事项:
1.Main-Class必须在Class-Path前面,否则将会被eclipse重写manife...
原创
2011-05-05 13:23:09 ·
415 阅读 ·
0 评论